Compartir a través de


GeneralFunctions.CanDeserialize<TType>(String) Method

Definition

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

public:
generic <typename TType>
 static bool CanDeserialize(System::String ^ deserializeString);
public static bool CanDeserialize<TType> (string deserializeString);
static member CanDeserialize : string -> bool
Public Shared Function CanDeserialize(Of TType) (deserializeString As String) As Boolean

Type Parameters

TType

Specifies the generic type used to deserialize.

Parameters

deserializeString
String

Specifies the serialized (XML) object.

Returns

True if string can be deserialized, otherwise false.

Applies to