System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation method
HttpHeaders::TryAddWithoutValidation(String, String) method
Tenta di aggiungere una nuova coppia nome-valore alla raccolta corrente.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, String value)
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | Stringa | Il nome dell’intestazione. |
| valore | Stringa | Il valore dell’intestazione. |
Vedi anche
- Class String
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++
HttpHeaders::TryAddWithoutValidation(String, System::SharedPtr<Collections::Generic::IEnumerable<String>>) method
Aggiunge una raccolta di coppie nome-valore alla raccolta corrente.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> values)
| Parametro | Tipo | Descrizione |
|---|---|---|
| nome | Stringa | Il nome dell’intestazione. |
| valori | System::SharedPtr<Collections::Generic::IEnumerable<String>> | I valori dell’intestazione. |
Vedi anche
- Class String
- Typedef SharedPtr
- Class IEnumerable
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.Font for C++