Compartilhar via


Método WriteXml

Writes and object to serialized Xml form.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)

Sintaxe

'Declaração
Public Sub WriteXml ( _
    writer As XmlWriter, _
    objectToSerialize As Object _
)
'Uso
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
)

Parâmetros

Implementa

IXmlSerializationAdapter. . :: . .WriteXml(XmlWriter, Object)