## HttpWebRequest::set_Accept method


设置 'Accept' HTTP 头的值。

```cpp
void System::Net::HttpWebRequest::set_Accept(String value)
```


| Parameter | Type | 描述 |
| --- | --- | --- |
| value | 字符串 | 必须设置的值。 |

## 另见

* Class [String](../../../system/string/)
* Class [HttpWebRequest](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
