Share via


SerializationHelpers.DeserializeXmlToObject<T> Method (String)

 

Deserializes raw XML to an object. This method will throw an exception if deserialization fails.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Syntax

public static T DeserializeXmlToObject<T>(
    string value
)
public:
generic<typename T>
static T DeserializeXmlToObject(
    String^ value
)
Public Shared Function DeserializeXmlToObject(Of T) (
    value As String
) As T

Parameters

Return Value

Type: T

Deserialized object.

Type Parameters

  • T
    Type of the object to deserialize.

See Also

DeserializeXmlToObject Overload
SerializationHelpers Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top