Item Property
Collapse the table of content
Expand the table of content

MessageHeaders.Item Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Retrieves a header at the given index.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

'Declaration
Public ReadOnly Property Item ( _
	index As Integer _
) As MessageHeaderInfo

Parameters

index
Type: System.Int32
Zero-based index of the list of headers.

Property Value

Type: System.ServiceModel.Channels.MessageHeaderInfo
The MessageHeaderInfo in the collection. If index is greater than or equal to the number of headers in the list, this returns Nothing.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft