HttpResponseMessageProperty.Headers Propriedade

Definição

Obtém os cabeçalhos HTTP da resposta HTTP.Gets the HTTP headers from the HTTP response.

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 da propriedade

WebHeaderCollection

Retorna um WebHeaderCollection que contém os cabeçalhos HTTP na resposta http.Returns a WebHeaderCollection that contains the HTTP headers in the HTTP response.

Exemplos

Isso mostra como obter os cabeçalhos HTTP da resposta HTTP:This shows how to get the HTTP headers from the HTTP response:

WebHeaderCollection whCollection =
responseProperty.Headers;

Aplica-se a