HttpResponseMessageProperty.Headers Proprietà

Definizione

Ottiene le intestazioni HTTP dalla risposta 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

Valore della proprietà

Restituisce un WebHeaderCollection oggetto contenente le intestazioni HTTP nella risposta HTTP.

Esempio

Viene illustrato come ottenere le intestazioni HTTP dalla risposta HTTP:

WebHeaderCollection whCollection =
responseProperty.Headers;

Si applica a