IncomingWebRequestContext.GetAcceptHeaderElements 方法

定义

获取 Accept 标题元素的集合。

public:
 System::Collections::ObjectModel::Collection<System::Net::Mime::ContentType ^> ^ GetAcceptHeaderElements();
public System.Collections.ObjectModel.Collection<System.Net.Mime.ContentType> GetAcceptHeaderElements ();
member this.GetAcceptHeaderElements : unit -> System.Collections.ObjectModel.Collection<System.Net.Mime.ContentType>
Public Function GetAcceptHeaderElements () As Collection(Of ContentType)

返回

Collection<ContentType>

Accept 标头元素的集合。

适用于