System::Net::Http::Headers::HttpHeaders::Add method
HttpHeaders::Add(String, String) method
Validates a new name-value pair and adds it to the current collection.
void System::Net::Http::Headers::HttpHeaders::Add(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.PUB for C++
HttpHeaders::Add(String, System::SharedPtr<Collections::Generic::IEnumerable<String>>) method
Validates a new name-values pair and adds it to the current collection.
void System::Net::Http::Headers::HttpHeaders::Add(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.PUB for C++