Comparteix a través de


HttpRequestHeaders.Accept Propiedad

Definición

Obtiene el valor del encabezado Accept para una solicitud HTTP.

public:
 property System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::MediaTypeWithQualityHeaderValue ^> ^ Accept { System::Net::Http::Headers::HttpHeaderValueCollection<System::Net::Http::Headers::MediaTypeWithQualityHeaderValue ^> ^ get(); };
public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue> Accept { get; }
member this.Accept : System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.MediaTypeWithQualityHeaderValue>
Public ReadOnly Property Accept As HttpHeaderValueCollection(Of MediaTypeWithQualityHeaderValue)

Valor de propiedad

Valor del encabezado Accept para una solicitud HTTP.

Se aplica a