## WebHeaderCollection::Set method


Sets the value of the specified header.

```cpp
void System::Net::WebHeaderCollection::Set(String name, String value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The header name. |
| value | String | The value to set. |

## See Also

* Class [String](../../../system/string/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.PDF for C++](../../../)
