## WebHeaderCollection::idx_set(HttpRequestHeader, String) method


Imposta il valore dell'intestazione specificata.

```cpp
void System::Net::WebHeaderCollection::idx_set(HttpRequestHeader header, String value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| intestazione | HttpRequestHeader | L'intestazione. |
| value | String | Il valore dell'intestazione da impostare. |

## Vedi anche

* Enum [HttpRequestHeader](../../httprequestheader/)
* Class [String](../../../system/string/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## WebHeaderCollection::idx_set(HttpResponseHeader, String) method


Imposta il valore dell'intestazione utilizzando l'intestazione della risposta specificata.

```cpp
void System::Net::WebHeaderCollection::idx_set(HttpResponseHeader header, String value)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| intestazione | HttpResponseHeader | L'intestazione. |
| value | String | Il valore dell'intestazione da impostare. |

## Vedi anche

* Enum [HttpResponseHeader](../../httpresponseheader/)
* Class [String](../../../system/string/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## WebHeaderCollection::idx_set(String, String) method


Imposta il valore dell'intestazione utilizzando il nome dell'intestazione specificato.

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


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| name | String | Il nome dell'intestazione. |
| value | String | Il valore dell'intestazione da impostare. |

## Vedi anche

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