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