Message.OnWriteStartBody(XmlDictionaryWriter) Message.OnWriteStartBody(XmlDictionaryWriter) Message.OnWriteStartBody(XmlDictionaryWriter) Message.OnWriteStartBody(XmlDictionaryWriter) Method

定义

将开始正文写入 XML 文件时调用。Called when the start body is written to an XML file.

protected:
 virtual void OnWriteStartBody(System::Xml::XmlDictionaryWriter ^ writer);
protected virtual void OnWriteStartBody (System.Xml.XmlDictionaryWriter writer);
abstract member OnWriteStartBody : System.Xml.XmlDictionaryWriter -> unit
override this.OnWriteStartBody : System.Xml.XmlDictionaryWriter -> unit
Protected Overridable Sub OnWriteStartBody (writer As XmlDictionaryWriter)

参数

writer
XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter

用于将开始正文写入 XML 文件的 XmlDictionaryWriterA XmlDictionaryWriter that is used to write the start body to an XML file.

适用于