Condividi tramite


Metodo WriteXml

Writes and object to serialized Xml form.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub WriteXml ( _
    writer As XmlWriter, _
    objectToSerialize As Object _
)
'Utilizzo
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
)

Parametri

Implementa

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