http://www.emgu.com
Convert an object to an xml document
Namespace: Emgu.UtilAssembly: Emgu.Util (in Emgu.Util.dll) Version: 2.3.0.1416 (2.3.0.1416)
Syntax
Visual Basic |
---|
Public Shared Function XmlSerialize(Of T) ( _
o As T, _
knownTypes As Type() _
) As XmlDocument |
Visual C++ |
---|
public:
generic<typename T>
static XmlDocument^ XmlSerialize(
T o,
array<Type^>^ knownTypes
) |
Parameters
- o
- Type: T
The object to be serialized
- knownTypes
- Type: array<System..::..Type>[]()[][]
Other types that it must known ahead to serialize the object
Type Parameters
- T
- The type of the object to be converted
Return Value
An xml document that represents the object
See Also