Generic method to deserialize an XML document.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.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.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XmlDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also