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


Valida un nuevo par nombre-valor y lo agrega a la colección actual.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| nombre | String | El nombre de la cabecera. |
| valor | String | El valor de la cabecera. |

## Ver también

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


Valida un nuevo par nombre-valor y lo agrega a la colección actual.

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


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| nombre | String | El nombre de la cabecera. |
| valores | System::SharedPtr\<Collections::Generic::IEnumerable\<String\>\> | Los valores del encabezado. |

## Ver también

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