次の方法で共有


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 名前空間