Message.OnWriteStartHeaders(XmlDictionaryWriter) Message.OnWriteStartHeaders(XmlDictionaryWriter) Message.OnWriteStartHeaders(XmlDictionaryWriter) Message.OnWriteStartHeaders(XmlDictionaryWriter) Method

定义

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

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

参数

writer
XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter XmlDictionaryWriter

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

适用于