System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation méthode
HttpHeaders::TryAddWithoutValidation(String, String) method
Tente d’ajouter une nouvelle paire nom-valeur à la collection actuelle.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, String value)
| Paramètre | Type | Description |
|---|---|---|
| nom | String | Le nom de l’en-tête. |
| valeur | String | La valeur de l’en-tête. |
Voir aussi
- Class String
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++
HttpHeaders::TryAddWithoutValidation(String, System::SharedPtr<Collections::Generic::IEnumerable<String>>) method
Ajoute une collection de paires nom-valeur à la collection actuelle.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> values)
| Paramètre | Type | Description |
|---|---|---|
| nom | 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
- Typedef SharedPtr
- Class IEnumerable
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++