## HttpHeaders::Add(String, String) method


Convalida una nuova coppia nome-valore e la aggiunge alla collezione corrente.

```cpp
void System::Net::Http::Headers::HttpHeaders::Add(String name, String value)
```


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

## Vedi anche

* Class [String](../../../system/string/)
* Class [HttpHeaders](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.Page for C++](../../../)
## HttpHeaders::Add(String, System::SharedPtr\<Collections::Generic::IEnumerable\<String\>\>) method


Convalida una nuova coppia nome‑valore e la aggiunge alla raccolta corrente.

```cpp
void System::Net::Http::Headers::HttpHeaders::Add(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> values)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| name | String | Il nome dell'intestazione. |
| valori | System::SharedPtr\<Collections::Generic::IEnumerable\<String\>\> | I valori dell'intestazione. |

## Vedi anche

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [IEnumerable](../../../system.collections.generic/ienumerable/)
* Class [HttpHeaders](../)
* Namespace [System::Net::Http::Headers](../../)
* Library [Aspose.Page for C++](../../../)
