Convert an object to an xml document
Namespace:
Emgu.Util
Assembly:
Emgu.Util (in Emgu.Util.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
Visual Basic (Declaration) |
---|
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