WriteXml 方法
Activates the Xml Writer for serialization. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。.
命名空間: Microsoft.SqlServer.Management.Sdk.Sfc
組件: Microsoft.SqlServer.Management.Sdk.Sfc (在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
語法
'宣告
Sub WriteXml ( _
writer As XmlWriter, _
objectToSerialize As Object _
)
'用途
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
)
參數
- writer
型別:System.Xml. . :: . .XmlWriter
The Xml Writer.
- objectToSerialize
型別:System. . :: . .Object
The specified object to be serialized.