Click or drag to resize
SerializationUtilsWriteXml Method
Serializes the specified object to xml and adds it to the specified xml writer.

Namespace: Slash.Serialization.Utils
Assembly: Slash.Serialization (in Slash.Serialization.dll) Version: 1.0.6018.40176
Syntax
public static void WriteXml(
	XmlWriter writer,
	Object obj,
	string elementName
)

Parameters

writer
Type: System.XmlXmlWriter
Xml writer to add object to.
obj
Type: SystemObject
Object to serialize.
elementName
Type: SystemString
Element node name to serialize object as.
See Also