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

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

Syntax

C#
public static XDocument XmlSerialize<T>(
	T sourceObject
)
Visual Basic
Public Shared Function XmlSerialize(Of T) ( 
	sourceObject As T
) As XDocument
Visual C++
public:
generic<typename T>
static XDocument^ XmlSerialize(
	T sourceObject
)
F#
static member XmlSerialize : 
        sourceObject : 'T -> XDocument 

Parameters

sourceObject
Type: T
The object to be serialized

Type Parameters

T
The type of the object to be converted

Return Value

Type: XDocument
An xml document that represents the object

See Also