## WebHeaderCollection::Set method


设置指定标头的值。

```cpp
void System::Net::WebHeaderCollection::Set(String name, String value)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 名称 | String | 标头名称。 |
| 值 | String | 要设置的值。 |

## 另见

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