Share via


RequestHeaders.Accept Property

Definition

Gets or sets the Accept header for an HTTP request.

public:
 property System::Collections::Generic::IList<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^> ^ Accept { System::Collections::Generic::IList<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue> Accept { get; set; }
member this.Accept : System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue> with get, set
Public Property Accept As IList(Of MediaTypeHeaderValue)

Property Value

Applies to