Freigeben über


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

Implementiert

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