System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation メソッド

HttpHeaders::TryAddWithoutValidation(String, String) method

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

bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, String value)
パラメーター説明
nameStringヘッダー名です。
valueStringヘッダー値です。

参照

HttpHeaders::TryAddWithoutValidation(String, System::SharedPtr<Collections::Generic::IEnumerable<String>>) method

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

bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> values)
パラメーター説明
nameStringヘッダー名です。
valuesSystem::SharedPtr<Collections::Generic::IEnumerable<String>>ヘッダー値です。

参照