DataServiceStreamResponse.Headers Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the collection of headers from the response.

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

Syntax

'Declaration
Public ReadOnly Property Headers As Dictionary(Of String, String)
public Dictionary<string, string> Headers { get; }

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.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.