Share via


WebRequestInfo.Headers property

Gets or sets a dictionary containing the name value pairs for the headers that will be sent in the HTTP request.

Namespace:  Microsoft.SharePoint.Client
Assembly:  Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)

Syntax

'Declaration
Public Property Headers As IDictionary(Of String, String)
    Get
    Set
'Usage
Dim instance As WebRequestInfo
Dim value As IDictionary(Of String, String)

value = instance.Headers

instance.Headers = value
public IDictionary<string, string> Headers { get; set; }

Property value

Type: System.Collections.Generic.IDictionary<String, String>
The dictionary containing the name value pairs.

See also

Reference

WebRequestInfo class

WebRequestInfo members

Microsoft.SharePoint.Client namespace