KnownTypesResolverTryResolveType Method
Dynamics CRM 2016
Updated: November 29, 2016
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
Maps any type to a new xsi:type representation.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Parameters
- type
-
Type:
Type. The type to map.
- declaredType
-
Type:
Type. The type declared in the data contract.
- knownTypeResolver
-
Type:
System.Runtime.Serialization.DataContractResolver. The known type resolver.
- typeName
-
Type:
System.Xml.XmlDictionaryString. The xsi:type name.
- typeNamespace
-
Type:
System.Xml.XmlDictionaryString. The xsi:type namespace.
Return Value
Type: Type: Boolean
true if mapping succeeded; otherwise, false.
For information on this method, refer to the DataContractResolver class.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright
Community Additions
ADD
Show: