HttpResponseMessageProperty.Headers Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient les en-têtes HTTP de la réponse HTTP.
public:
property System::Net::WebHeaderCollection ^ Headers { System::Net::WebHeaderCollection ^ get(); };
public System.Net.WebHeaderCollection Headers { get; }
member this.Headers : System.Net.WebHeaderCollection
Public ReadOnly Property Headers As WebHeaderCollection
Valeur de propriété
Retourne une WebHeaderCollection qui contient les en-têtes HTTP dans la réponse HTTP.
Exemples
Cet exemple montre comment obtenir les en-têtes HTTP de la réponse HTTP :
WebHeaderCollection whCollection =
responseProperty.Headers;