MessageHeaders.GetReaderAtHeader(Int32) Method

Definition

Gets a XML dictionary reader that consumes the message header at the specified location of the collection.

public:
 System::Xml::XmlDictionaryReader ^ GetReaderAtHeader(int headerIndex);
public System.Xml.XmlDictionaryReader GetReaderAtHeader (int headerIndex);
member this.GetReaderAtHeader : int -> System.Xml.XmlDictionaryReader
Public Function GetReaderAtHeader (headerIndex As Integer) As XmlDictionaryReader

Parameters

headerIndex
Int32

The zero-based index of the header to get.

Returns

An XmlDictionaryReader object that consumes the message header at the specified location of the collection.

Applies to