WriteXml-Methode
Writes and object to serialized Xml form.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Sub WriteXml ( _
writer As XmlWriter, _
objectToSerialize As Object _
)
'Usage
Dim instance As VersionSerializationAdapter
Dim writer As XmlWriter
Dim objectToSerialize As Object
instance.WriteXml(writer, objectToSerialize)
public void WriteXml(
XmlWriter writer,
Object objectToSerialize
)
public:
virtual void WriteXml(
XmlWriter^ writer,
Object^ objectToSerialize
) sealed
abstract WriteXml :
writer:XmlWriter *
objectToSerialize:Object -> unit
override WriteXml :
writer:XmlWriter *
objectToSerialize:Object -> unit
public final function WriteXml(
writer : XmlWriter,
objectToSerialize : Object
)
Parameter
- writer
Typ: System.Xml. . :: . .XmlWriter
A XmlWriter object.
- objectToSerialize
Typ: System. . :: . .Object
A Object to serialize.
Implementiert
IXmlSerializationAdapter. . :: . .WriteXml(XmlWriter, Object)