CrmServiceClient.GetDataByKeyFromResultsSet<T> Method (Dictionary<String, Object>, String)
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
This function gets data from a Dictionary object, where "string" identifies the field name, and Object contains the data, this method then attempts to cast the result to the Type requested, if it cannot be cast an empty object is returned.
Assembly: Microsoft.Xrm.Tooling.Connector (in Microsoft.Xrm.Tooling.Connector.dll)
Parameters
- results
-
Type:
System.Collections.Generic.Dictionary<String, Object>
Results from the query
- key
-
Type:
System.String
key name you want
Return Value
Type: Tobject
Type Parameters
- T
Type if object to return
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: