Generic method to deserialize an XML document.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static T Deserialize<T>(
	this XmlDocument document
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Deserialize(Of T) ( _
	document As XmlDocument _
) As T
Visual C++
[ExtensionAttribute]
public:
generic<typename T>
static T Deserialize(
	XmlDocument^ document
)

Parameters

document
Type: System.Xml..::..XmlDocument
The XML document to deserialize.

Type Parameters

T
The type to deserialize to.

Return Value

The deserialized object.

See Also