Serialize(XmlTextWriter,Object,XmlSerializerNamespaces) Method
In This Topic
Serializes the specified Object and writes the XML-document instance to a file using the specified XmlWriter
Syntax
'Declaration
Public Overloads Sub Serialize( _
ByVal As XmlTextWriter, _
ByVal As System.Object, _
ByVal As System.Xml.Serialization.XmlSerializerNamespaces _
)
public void Serialize(
XmlTextWriter ,
System.object ,
System.Xml.Serialization.XmlSerializerNamespaces
)
Parameters
- writer
- The XmlWriter used to write the XML-document instance
- o
- The Object to serialize
- namespaces
- The XmlSerializerNamespaces referenced by the object
See Also