System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation método
HttpHeaders::TryAddWithoutValidation(String, String) method
Intenta agregar un nuevo par nombre-valor a la colección actual.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, String value)
| Parámetro | Tipo | Descripción |
|---|---|---|
| name | String | El nombre de la cabecera. |
| value | String | El valor de la cabecera. |
Ver también
- Class String
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.Page for C++
HttpHeaders::TryAddWithoutValidation(String, System::SharedPtr<Collections::Generic::IEnumerable<String>>) method
Agrega una colección de pares nombre-valor a la colección actual.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> values)
| Parámetro | Tipo | Descripción |
|---|---|---|
| name | String | El nombre de la cabecera. |
| valores | System::SharedPtr<Collections::Generic::IEnumerable<String>> | Los valores del encabezado. |
Ver también
- Class String
- Typedef SharedPtr
- Class IEnumerable
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.Page for C++