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


Пытается добавить новую пару имя‑значение в текущую коллекцию.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| имя | String | Имя заголовка. |
| value | String | Значение заголовка. |

## См. также

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


Добавляет коллекцию пар имя‑значение в текущую коллекцию.

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


| Параметр | Тип | Описание |
| --- | --- | --- |
| имя | String | Имя заголовка. |
| значения | System::SharedPtr\<Collections::Generic::IEnumerable\<String\>\> | Значения заголовка. |

## См. также

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