Click or drag to resize
ToolboxXmlDeserializeT Method (XDocument, Type)
http://www.emgu.com
Convert an xml document to an object

Namespace: Emgu.Util
Assembly: Emgu.Util (in Emgu.Util.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public static T XmlDeserialize<T>(
	XDocument xDoc,
	Type[] knownTypes
)

Parameters

xDoc
Type: System.Xml.LinqXDocument
The xml document
knownTypes
Type: SystemType
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

Type: T
The object representation as a result of the deserialization of the xml document
See Also