Bewerken

Delen via


HttpRequestHeaders.Accept Property

Definition

Gets the value of the Accept header for an HTTP request.

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)

Property Value

The value of the Accept header for an HTTP request.

Applies to