Edit

Share via


DataServiceRequestArgs.Headers Property

Definition

Gets the headers in the request message.

public:
 property System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ Headers { System::Collections::Generic::Dictionary<System::String ^, System::String ^> ^ get(); };
public System.Collections.Generic.Dictionary<string,string> Headers { get; }
member this.Headers : System.Collections.Generic.Dictionary<string, string>
Public ReadOnly Property Headers As Dictionary(Of String, String)

Property Value

The headers in the request message.

Remarks

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

No validation is performed on the headers in the Headers property. Therefore, make sure that you do not change an HTTP header in a way that changes the meaning of the request.

Applies to