Click or drag to resize

XmlSupportGetXmlSerializerSerializedXml Method (Object, String)

Creates an Xml Serialization of the provided object.

Namespace:  PSI.Sox
Assembly:  PSI.Sox (in PSI.Sox.dll) Version: 2.1
Syntax
public static string GetXmlSerializerSerializedXml(
	Object objToSerialize,
	string rootElement
)

Parameters

objToSerialize
Type: SystemObject
Object to serialize into Xml.
rootElement
Type: SystemString
Object to serialize into Xml.

Return Value

Type: String
String that represents and Xml Representation of the provided Object.
See Also