System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation method
HttpHeaders::TryAddWithoutValidation(String, String) method
Tries to add a new name-value pair to the current collection.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, String value)
Parameter | Type | Description |
---|---|---|
name | String | The header name. |
value | String | The header value. |
See Also
- Class String
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.TeX for C++
HttpHeaders::TryAddWithoutValidation(String, System::SharedPtr<Collections::Generic::IEnumerable<String>>) method
Adds a collection of name-value pairs to the current collection.
bool System::Net::Http::Headers::HttpHeaders::TryAddWithoutValidation(String name, System::SharedPtr<Collections::Generic::IEnumerable<String>> values)
Parameter | Type | Description |
---|---|---|
name | String | The header name. |
values | System::SharedPtr<Collections::Generic::IEnumerable<String>> | The header values. |
See Also
- Class String
- Typedef SharedPtr
- Class IEnumerable
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.TeX for C++