Generic method to deserialize an XML element.

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 XmlElement element
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function Deserialize(Of T) ( _
	element As XmlElement _
) As T
Visual C++
[ExtensionAttribute]
public:
generic<typename T>
static T Deserialize(
	XmlElement^ element
)

Parameters

element
Type: System.Xml..::..XmlElement
The XML element 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 XmlElement. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also