Share via


KnownTypesResolver.ResolveName Method (String, String, Type, DataContractResolver)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

Enables users to map a xsi:type name to any type.

Namespace:   Microsoft.Xrm.Sdk
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Syntax

public override Type ResolveName(
    string typeName,
    string typeNamespace,
    Type declaredType,
    DataContractResolver knownTypeResolver
)
Public Overrides Function ResolveName (
    typeName As String,
    typeNamespace As String,
    declaredType As Type,
    knownTypeResolver As DataContractResolver
) As Type

Parameters

  • declaredType
    Type: System.Type

    Type. The type declared in the data contract.

Return Value

Type: System.Type

Type: Type
The type the xsi:type name and namespace is mapped to.

Remarks

For information on this method, refer to the DataContractResolver class.

See Also

KnownTypesResolver Class
Microsoft.Xrm.Sdk Namespace

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright