Поделиться через


Метод WriteXml

Writes and object to serialized Xml form.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Sub WriteXml ( _
    writer As XmlWriter, _
    objectToSerialize As Object _
)
'Применение
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
)

Параметры

Реализует

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