Метод 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
)
Параметры
- writer
Тип: System.Xml. . :: . .XmlWriter
A XmlWriter object.
- objectToSerialize
Тип: System. . :: . .Object
A Object to serialize.
Реализует
IXmlSerializationAdapter. . :: . .WriteXml(XmlWriter, Object)
См. также