共用方式為


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 標頭值。

適用於