要求メッセージのヘッダーを取得します。
名前空間: 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 DataServiceRequestArgs
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> オブジェクトです。
Headers プロパティのヘッダーの検証は実行されません。 したがって、要求の意味を変更する方法で HTTP ヘッダーを変更しないでください。