DataServiceStreamResponse.Headers Property

Gets the collection of headers from the response.

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

Syntax

'Declaration
Public ReadOnly Property Headers As Dictionary(Of String, String)
    Get
'Usage
Dim instance As DataServiceStreamResponse 
Dim value As Dictionary(Of String, String)

value = instance.Headers
public Dictionary<string, string> Headers { get; }
public:
property Dictionary<String^, String^>^ Headers {
    Dictionary<String^, String^>^ get ();
}
member Headers : Dictionary<string, string>
function get Headers () : Dictionary<String, String>

Property Value

Type: System.Collections.Generic.Dictionary<String, String>
The headers collection from the response message as a Dictionary<TKey, TValue> object.

Remarks

The response is a Dictionary<TKey, TValue> object that contains key-value pairs of strings for each header in the response.

See Also

Reference

DataServiceStreamResponse Class

System.Data.Services.Client Namespace