MessageHeaders.WriteStartHeader 方法

定义

使用指定的 XML 编写器序列化开始标头。

重载

WriteStartHeader(Int32, XmlDictionaryWriter)

使用指定的 XML 编写器序列化开始标头。

WriteStartHeader(Int32, XmlWriter)

使用指定的 XML 编写器序列化开始标头。

WriteStartHeader(Int32, XmlDictionaryWriter)

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

使用指定的 XML 编写器序列化开始标头。

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

参数

headerIndex
Int32

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

writer
XmlDictionaryWriter

XmlDictionaryWriter 用于序列化开始标头。

适用于

WriteStartHeader(Int32, XmlWriter)

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

使用指定的 XML 编写器序列化开始标头。

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

参数

headerIndex
Int32

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

writer
XmlWriter

XmlWriter 用于序列化开始标头。

适用于