 | SerializationUtilsWriteXml Method |
Serializes the specified object to xml and adds it to the specified xml writer.
Namespace: Slash.Serialization.UtilsAssembly: Slash.Serialization (in Slash.Serialization.dll) Version: 1.0.6018.40176
Syntaxpublic static void WriteXml(
XmlWriter writer,
Object obj,
string elementName
)
Public Shared Sub WriteXml (
writer As XmlWriter,
obj As Object,
elementName As String
)
public:
static void WriteXml(
XmlWriter^ writer,
Object^ obj,
String^ elementName
)
static member WriteXml :
writer : XmlWriter *
obj : Object *
elementName : string -> unit
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