HttpRequestHeaders.Authorization 屬性

定義

取得或設定 HTTP 要求的 Authorization 標頭值。Gets or sets the value of the Authorization header for an HTTP request.

public:
 property System::Net::Http::Headers::AuthenticationHeaderValue ^ Authorization { System::Net::Http::Headers::AuthenticationHeaderValue ^ get(); void set(System::Net::Http::Headers::AuthenticationHeaderValue ^ value); };
public System.Net.Http.Headers.AuthenticationHeaderValue Authorization { get; set; }
member this.Authorization : System.Net.Http.Headers.AuthenticationHeaderValue with get, set
Public Property Authorization As AuthenticationHeaderValue

屬性值

HTTP 要求的 Authorization 標頭值。The value of the Authorization header for an HTTP request.

適用於