RequestHeaders.Accept Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)