Utility.ConvertListToDictionary Method
Converts a LookupRequestItem list to a dictionary.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)
Usage
'Usage
Dim lri As List(Of LookupRequestItem)
Dim returnValue As Dictionary(Of String, String)
returnValue = Utility.ConvertListToDictionary(lri)
Syntax
'Declaration
Public Shared Function ConvertListToDictionary ( _
lri As List(Of LookupRequestItem) _
) As Dictionary(Of String, String)
public static Dictionary<string,string> ConvertListToDictionary (
List<LookupRequestItem> lri
)
public:
static Dictionary<String^, String^>^ ConvertListToDictionary (
List<LookupRequestItem^>^ lri
)
public static Dictionary<String,String> ConvertListToDictionary (
List<LookupRequestItem> lri
)
public static function ConvertListToDictionary (
lri : List<LookupRequestItem>
) : Dictionary<String,String>
Parameters
- lri
Specifies the list of LookupRequestItems.
Return Value
Dictionary with the same elements as the original list.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
See Also
Reference
Utility Class
Utility Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics Namespace
Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.