RequestHeaders.Add Method

Definition

Overloads

Add(HttpHeader)

Adds the HttpHeader instance to the collection.

Add(String, String)

Adds the header to the collection. If a header with this name already exist adds an additional value to the header values.

Add(HttpHeader)

Adds the HttpHeader instance to the collection.

public void Add (Azure.Core.HttpHeader header);
member this.Add : Azure.Core.HttpHeader -> unit
Public Sub Add (header As HttpHeader)

Parameters

header
HttpHeader

The header to add.

Applies to

Add(String, String)

Adds the header to the collection. If a header with this name already exist adds an additional value to the header values.

public void Add (string name, string value);
member this.Add : string * string -> unit
Public Sub Add (name As String, value As String)

Parameters

name
System.String

The header name.

value
System.String

The header value.

Applies to