Partager via


HttpRequestHeaders.Authorization Propriété

Définition

Récupère ou définit la valeur de l’en-tête Authorization d’une requête HTTP.

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

Valeur de propriété

La valeur de l’en-tête Authorization d’une requête HTTP.

S’applique à