MessageHeaders.WriteHeader 方法

定义

使用 XML 编写器从指定位置序列化标头。

重载

WriteHeader(Int32, XmlDictionaryWriter)

使用指定 XML 编写器从指定位置序列化标头。

WriteHeader(Int32, XmlWriter)

使用指定 XML 编写器从指定位置序列化标头。

WriteHeader(Int32, XmlDictionaryWriter)

Source:
MessageHeaders.cs
Source:
MessageHeaders.cs
Source:
MessageHeaders.cs

使用指定 XML 编写器从指定位置序列化标头。

public:
 void WriteHeader(int headerIndex, System::Xml::XmlDictionaryWriter ^ writer);
public void WriteHeader (int headerIndex, System.Xml.XmlDictionaryWriter writer);
member this.WriteHeader : int * System.Xml.XmlDictionaryWriter -> unit
Public Sub WriteHeader (headerIndex As Integer, writer As XmlDictionaryWriter)

参数

headerIndex
Int32

要序列化的标头的从零开始的索引。

writer
XmlDictionaryWriter

一个 XmlDictionaryWriter,用于序列化标头。

适用于

WriteHeader(Int32, XmlWriter)

Source:
MessageHeaders.cs
Source:
MessageHeaders.cs
Source:
MessageHeaders.cs

使用指定 XML 编写器从指定位置序列化标头。

public:
 void WriteHeader(int headerIndex, System::Xml::XmlWriter ^ writer);
public void WriteHeader (int headerIndex, System.Xml.XmlWriter writer);
member this.WriteHeader : int * System.Xml.XmlWriter -> unit
Public Sub WriteHeader (headerIndex As Integer, writer As XmlWriter)

参数

headerIndex
Int32

要序列化的标头的从零开始的索引。

writer
XmlWriter

一个 XmlWriter,用于序列化标头。

适用于