Compartilhar via


GeneralFunctions.CanDeserialize Method

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)

Usage

'Usage
Dim deserializeString As String
Dim returnValue As Boolean

returnValue = GeneralFunctions.CanDeserialize(deserializeString)

Syntax

'Declaration
Public Shared Function CanDeserialize(Of TType) ( _
    deserializeString As String _
) As Boolean
public static bool CanDeserialize<TType> (
    string deserializeString
)
public:
generic<typename TType>
static bool CanDeserialize (
    String^ deserializeString
)

GenericParameters

  • TType
    Specifies the generic type used to deserialize.

Parameters

  • deserializeString
    Specifies the serialized (XML) object.

Return Value

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

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

GeneralFunctions Class
GeneralFunctions Members
Microsoft.Uii.Common Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.