RequestHeaders.Accept 属性

定义

获取或设置 Accept HTTP 请求的标头。

public:
 property System::Collections::Generic::IList<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^> ^ Accept { System::Collections::Generic::IList<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^> ^ get(); void set(System::Collections::Generic::IList<Microsoft::Net::Http::Headers::MediaTypeHeaderValue ^> ^ value); };
public System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue> Accept { get; set; }
member this.Accept : System.Collections.Generic.IList<Microsoft.Net.Http.Headers.MediaTypeHeaderValue> with get, set
Public Property Accept As IList(Of MediaTypeHeaderValue)

属性值

适用于