Add()
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)
Arguments
Parameter | Type | Description |
---|---|---|
name | String | The header name. |
values | System::SharedPtr<Collections::Generic::IEnumerable<String>> | The header values. |
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)
Arguments
Parameter | Type | Description |
---|---|---|
name | String | The header name. |
value | String | The header value. |
See Also
- Typedef SharedPtr
- Class String
- Class IEnumerable
- Class HttpHeaders
- Namespace System::Net::Http::Headers
- Library Aspose.Slides