Share via


HttpWebRequestMessage.Headers Property

Returns the collection of request headers.

Namespace:  System.Data.Services.Client
Assembly:  Microsoft.Data.Services.Client (in Microsoft.Data.Services.Client.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property Headers As IEnumerable(Of KeyValuePair(Of String, String))
    Get
'Usage
Dim instance As HttpWebRequestMessage 
Dim value As IEnumerable(Of KeyValuePair(Of String, String))

value = instance.Headers
public override IEnumerable<KeyValuePair<string, string>> Headers { get; }
public:
virtual property IEnumerable<KeyValuePair<String^, String^>>^ Headers {
    IEnumerable<KeyValuePair<String^, String^>>^ get () override;
}
abstract Headers : IEnumerable<KeyValuePair<string, string>>
override Headers : IEnumerable<KeyValuePair<string, string>>
override function get Headers () : IEnumerable<KeyValuePair<String, String>>

Property Value

Type: System.Collections.Generic.IEnumerable<KeyValuePair<String, String>>

Implements

IODataRequestMessage.Headers

See Also

Reference

HttpWebRequestMessage Class

System.Data.Services.Client Namespace