Share via


GeneralFunctions.Deserialize Method

Definition

Overloads

Deserialize(String, Type)

Deserializes the XML string into an object of type passed in.

Deserialize<TType>(String)

Deserializes an XML string into an object of type passed in.

Deserialize(String, Type)

Deserializes the XML string into an object of type passed in.

public:
 static System::Object ^ Deserialize(System::String ^ deserializeString, Type ^ type);
public static object Deserialize (string deserializeString, Type type);
static member Deserialize : string * Type -> obj
Public Shared Function Deserialize (deserializeString As String, type As Type) As Object

Parameters

deserializeString
String

Specifies the serialized (XML) object.

type
Type

Specifies the object type to which to deserialize.

Returns

The deserialized object.

Applies to

Deserialize<TType>(String)

Deserializes an XML string into an object of type passed in.

public:
generic <typename TType>
 static TType Deserialize(System::String ^ deserializeString);
public static TType Deserialize<TType> (string deserializeString);
static member Deserialize : string -> 'ype
Public Shared Function Deserialize(Of TType) (deserializeString As String) As TType

Type Parameters

TType

Specifies the generic type used to deserialize.

Parameters

deserializeString
String

Specifies the serialized (XML) object.

Returns

TType

The deserialized object.

Applies to