共用方式為


Headers.Set(String, String) Method

Definition

Adds or updates a header in the Header collection.

public virtual void Set (string headerName, string value);
abstract member Set : string * string -> unit
override this.Set : string * string -> unit
Public Overridable Sub Set (headerName As String, value As String)

Parameters

headerName
String

Header name.

value
String

Header value.

Applies to