GeneralFunctions.Deserialize 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.
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
The deserialized object.