Rediger

Del via


MessageHeaders.Item[Int32] Property

Definition

Retrieves a header at the given index.

public:
 property System::ServiceModel::Channels::MessageHeaderInfo ^ default[int] { System::ServiceModel::Channels::MessageHeaderInfo ^ get(int index); };
public System.ServiceModel.Channels.MessageHeaderInfo this[int index] { get; }
member this.Item(int) : System.ServiceModel.Channels.MessageHeaderInfo
Default Public ReadOnly Property Item(index As Integer) As MessageHeaderInfo

Parameters

index
Int32

The zero-based index of the header in the list.

Property Value

The MessageHeaderInfo in the collection. If index is greater than or equal to the number of headers in the list, this returns null.

Applies to