共用方式為


Request.AddHeader(String, String) Method

Definition

Adds a header value to the header collection.

protected internal abstract void AddHeader (string name, string value);
abstract member AddHeader : string * string -> unit
Protected Friend MustOverride Sub AddHeader (name As String, value As String)

Parameters

name
String

The header name.

value
String

The header value.

Applies to