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


新しい名前と値のペアを現在のコレクションに追加しようとします。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| name | String | ヘッダー名です。 |
| value | String | ヘッダー値です。 |

## 参照

* 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


名前と値のペアのコレクションを現在のコレクションに追加します。

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


| パラメーター | 型 | 説明 |
| --- | --- | --- |
| name | String | ヘッダー名です。 |
| values | 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.Page for C++](../../../)
