http://www.emgu.com
Convert an xml document to an object

Namespace: Emgu.Util
Assembly: Emgu.Util (in Emgu.Util.dll) Version: 2.4.2.1777 (2.4.2.1777)

Syntax

C#
public static T XmlDeserialize<T>(
	XmlDocument xDoc,
	Type[] knownTypes
)
Visual Basic
Public Shared Function XmlDeserialize(Of T) ( _
	xDoc As XmlDocument, _
	knownTypes As Type() _
) As T
Visual C++
public:
generic<typename T>
static T XmlDeserialize(
	XmlDocument^ xDoc, 
	array<Type^>^ knownTypes
)

Parameters

xDoc
Type: System.Xml..::..XmlDocument
The xml document
knownTypes
Type: array<System..::..Type>[]()[][]
Other types that it must known ahead to deserialize the object

Type Parameters

T
The type of the object to be converted to

Return Value

The object representation as a result of the deserialization of the xml document

See Also