共用方式為


HttpRequestHeaderCollection.Accept 屬性

定義

取得 HttpMediaTypeWithQualityHeaderValueCollectionHttpMediaTypeWithQualityHeaderValue 物件,這些物件代表 HTTP 要求上 Accept HTTP 標頭的值。

public:
 property HttpMediaTypeWithQualityHeaderValueCollection ^ Accept { HttpMediaTypeWithQualityHeaderValueCollection ^ get(); };
HttpMediaTypeWithQualityHeaderValueCollection Accept();
public HttpMediaTypeWithQualityHeaderValueCollection Accept { get; }
var httpMediaTypeWithQualityHeaderValueCollection = httpRequestHeaderCollection.accept;
Public ReadOnly Property Accept As HttpMediaTypeWithQualityHeaderValueCollection

屬性值

代表Accept HTTP 標頭值的HttpMediaTypeWithQualityHeaderValue物件的集合。 空集合表示標頭不存在。

適用於

另請參閱