Share via


DataServiceStreamResponse.Headers 属性

获取响应中的标头集合。

命名空间:  System.Data.Services.Client
程序集:  Microsoft.Data.Services.Client(在 Microsoft.Data.Services.Client.dll 中)

语法

声明
Public ReadOnly Property Headers As Dictionary(Of String, String)
    Get
用法
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>

属性值

类型:System.Collections.Generic.Dictionary<String, String>
作为 Dictionary<TKey, TValue> 对象的响应消息中的标头集合。

注释

响应是包含响应中各标头的字符串的关键值对的 Dictionary<TKey, TValue> 对象。

请参阅

参考

DataServiceStreamResponse 类

System.Data.Services.Client 命名空间