Freigeben über


WriteXml-Methode

Activates the Xml Writer for serialization. Verweisen Sie nicht direkt im Code auf dieses Element. Unterstützt die SQL Server-Infrastruktur..

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Sub WriteXml ( _
    writer As XmlWriter, _
    objectToSerialize As Object _
)
'Usage
Dim instance As IXmlSerializationAdapter
Dim writer As XmlWriter
Dim objectToSerialize As Object

instance.WriteXml(writer, objectToSerialize)
void WriteXml(
    XmlWriter writer,
    Object objectToSerialize
)
void WriteXml(
    XmlWriter^ writer, 
    Object^ objectToSerialize
)
abstract WriteXml : 
        writer:XmlWriter * 
        objectToSerialize:Object -> unit 
function WriteXml(
    writer : XmlWriter, 
    objectToSerialize : Object
)

Parameter