GeneralFunctions.Deserialize Method (String, Type)

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

Namespace: Microsoft.Uii.Common
Assembly: Microsoft.Uii.Common (in Microsoft.Uii.Common.dll)

Usage

'Usage
Dim deserializeString As String
Dim type As Type
Dim returnValue As Object

returnValue = GeneralFunctions.Deserialize(deserializeString, type)

Syntax

'Declaration
Public Shared Function Deserialize ( _
    deserializeString As String, _
    type As Type _
) As Object
public static Object Deserialize (
    string deserializeString,
    Type type
)
public:
static Object^ Deserialize (
    String^ deserializeString, 
    Type^ type
)
public static Object Deserialize (
    String deserializeString, 
    Type type
)
public static function Deserialize (
    deserializeString : String, 
    type : Type
) : Object

Parameters

  • deserializeString
    Specifies the serialized (XML) object.
  • type
    Specifies the object type to which to deserialize.

Return Value

Type: Object
The deserialized object.

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.