RequestHeaders.SetValue(String, String) Method

Definition

Sets the header value name. If a header with this name already exist replaces it's value.

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

Parameters

name
System.String

The header name.

value
System.String

The header value.

Applies to