共用方式為


HttpRequestHeaders.Authorization 屬性

定義

取得或設定 HTTP 要求的 Authorization 標頭值。

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; }
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 標頭值。

適用於