WriteXml メソッド

このオブジェクトを XML 表現に変換します。

名前空間:  Microsoft.Synchronization
アセンブリ:  Microsoft.Synchronization (Microsoft.Synchronization.dll 内)

構文

'宣言
Public Sub WriteXml ( _
    writer As XmlWriter _
)
'使用
Dim instance As SyncKnowledge
Dim writer As XmlWriter

instance.WriteXml(writer)
public void WriteXml(
    XmlWriter writer
)
public:
virtual void WriteXml(
    XmlWriter^ writer
) sealed
abstract WriteXml : 
        writer:XmlWriter -> unit 
override WriteXml : 
        writer:XmlWriter -> unit 
public final function WriteXml(
    writer : XmlWriter
)

パラメーター

  • writer
    型 : System.Xml. . :: . .XmlWriter
    オブジェクトの XML 表現はこの XML ライター ストリームに書き込まれます。

実装

IXmlSerializable. . :: . .WriteXml(XmlWriter)

例外

例外 条件
ArgumentNullException

writer が null Nothing nullptr unit NULL 参照 (Visual Basic では Nothing) です。

参照

参照

SyncKnowledgeクラス

SyncKnowledge メンバー

Microsoft.Synchronization 名前空間