HttpResponseMessageProperty.Headers Propriedade

Definição

Obtém os cabeçalhos HTTP da resposta 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

Valor de Propriedade

Devolve a WebHeaderCollection que contém os cabeçalhos HTTP na resposta HTTP.

Exemplos

Isto mostra como obter os cabeçalhos HTTP a partir da resposta HTTP:

WebHeaderCollection whCollection =
responseProperty.Headers;

Aplica-se a