HttpRequestHeaders.Accept 属性

定义

获取 HTTP 请求的 Accept 标头值。

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)

属性值

HTTP 请求的 Accept 标头值。

适用于