Cuemon .NET Framework
FromDictionary<TKey,TValue> Method (EnumerableConverter)

The System.Type of the key in the resulting KeyValuePair.
The System.Type of the value in the resulting KeyValuePair.
An IDictionary to convert into a KeyValuePair equivalent sequence.
Converts the specified source to its KeyValuePair equivalent sequence.
Syntax
'Declaration
 
Public Shared Function FromDictionary
    (Of TKey,TValue)( _
   ByVal source As IDictionary(Of TKey,TValue) _
) As IEnumerable(Of KeyValuePair(Of TKey,TValue))

Parameters

source
An IDictionary to convert into a KeyValuePair equivalent sequence.

Type Parameters

TKey
The System.Type of the key in the resulting KeyValuePair.
TValue
The System.Type of the value in the resulting KeyValuePair.

Return Value

A KeyValuePair equivalent sequence of source.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionsource is null.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EnumerableConverter Class
EnumerableConverter Members

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback