Serializes any object to XML.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)

Syntax

C#
public static XmlDocument SerializeToXml(
	this Object report
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function SerializeToXml ( _
	report As Object _
) As XmlDocument
Visual C++
[ExtensionAttribute]
public:
static XmlDocument^ SerializeToXml(
	Object^ report
)

Parameters

report
Type: System..::..Object
The object to serialize.

Return Value

Xml of the serialized object.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also