IXmlSerializationAdapter.WriteXml Method
Activates the Xml Writer for serialization. Do not reference this member directly in your code. It supports the SQL Server infrastructure..
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
)
Parameters
- writer
Type: System.Xml.XmlWriter
The Xml Writer.
- objectToSerialize
Type: System.Object
The specified object to be serialized.