Sdílet prostřednictvím


HttpRequestHeaders.Accept Vlastnost

Definice

Získá hodnotu hlavičky Accept pro požadavek 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)

Hodnota vlastnosti

Hodnota hlavičky Accept pro požadavek HTTP.

Platí pro