GeneralFunctions.CanDeserialize<TType>(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.