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


Tente d'ajouter une nouvelle paire nom-valeur à la collection actuelle.

```cpp
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, String value)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| name | String | Le nom de l'en-tête. |
| value | String | La valeur de l'en-tête. |

## Voir aussi

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


Ajoute une collection de paires nom-valeur à la collection actuelle.

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


| Paramètre | Type | Description |
| --- | --- | --- |
| name | String | Le nom de l'en-tête. |
| valeurs | System::SharedPtr\<Collections::Generic::IEnumerable\<String\>\> | Les valeurs d'en-tête. |

## Voir aussi

* 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++](../../../)
