Share via


HttpRequestHeaders.Accept Property

Gets {insert text here}.

Namespace:  System.Net.Http.Headers
Assembly:  System.Net.Http (in System.Net.Http.dll)

Syntax

'Declaration
Public ReadOnly Property Accept As HttpHeaderValueCollection(Of MediaTypeWithQualityHeaderValue)
    Get
'Usage
Dim instance As HttpRequestHeaders 
Dim value As HttpHeaderValueCollection(Of MediaTypeWithQualityHeaderValue)

value = instance.Accept
public HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue> Accept { get; }
public:
property HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue^>^ Accept {
    HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue^>^ get ();
}
member Accept : HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue>
function get Accept () : HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue>

Property Value

Type: System.Net.Http.Headers.HttpHeaderValueCollection<MediaTypeWithQualityHeaderValue>

See Also

Reference

HttpRequestHeaders Class

System.Net.Http.Headers Namespace