Convert an xml document to an object
Namespace: Emgu.UtilAssembly: Emgu.Util (in Emgu.Util.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public static T XmlDeserialize<T>( XmlDocument xDoc, Type[] knownTypes )
Public Shared Function XmlDeserialize(Of T) ( _ xDoc As XmlDocument, _ knownTypes As Type() _ ) As T
public: generic<typename T> static T XmlDeserialize( XmlDocument^ xDoc, array<Type^>^ knownTypes )
Parameters
- xDoc
- XmlDocument
The xml document
- knownTypes
- array<Type>[]()[][]
Other types that it must known ahead to deserialize the object
Type Parameters
- T
- The type of the object to be converted to