Partager via


GeneralFunctions.CanDeserialize<TType> Method (String)

 

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

Determines whether a string can be deserialized to an object of specified type.

Namespace:   Microsoft.Uii.Common
Assembly:  Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Syntax

public static bool CanDeserialize<TType>(
    string deserializeString
)
Public Shared Function CanDeserialize(Of TType) (
    deserializeString As String
) As Boolean

Parameters

  • deserializeString
    Type: System.String

    Specifies the serialized (XML) object.

Return Value

Type: System.Boolean

Type: Boolean
True if string can be deserialized, otherwise false.

Type Parameters

  • TType
    Specifies the generic type used to deserialize.

See Also

GeneralFunctions Class
Microsoft.Uii.Common Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright