System::Net::WebHeaderCollection::Add method
Contents
[
Hide
]WebHeaderCollection::Add(String, String) method
Adds the specified pair of the header name and the header value to the collection.
void System::Net::WebHeaderCollection::Add(String header, String value)
Parameter | Type | Description |
---|---|---|
header | String | The header name. |
value | String | The header value. |
See Also
- Class String
- Class WebHeaderCollection
- Namespace System::Net
- Library Aspose.PUB for C++
WebHeaderCollection::Add(HttpResponseHeader, String) method
Adds the specified pair of the header and the header value to the collection.
void System::Net::WebHeaderCollection::Add(HttpResponseHeader header, String value)
Parameter | Type | Description |
---|---|---|
header | HttpResponseHeader | The header. |
value | String | The header value. |
See Also
- Enum HttpResponseHeader
- Class String
- Class WebHeaderCollection
- Namespace System::Net
- Library Aspose.PUB for C++
WebHeaderCollection::Add(HttpRequestHeader, String) method
Adds the specified pair of the header and the header value to the collection.
void System::Net::WebHeaderCollection::Add(HttpRequestHeader header, String value)
Parameter | Type | Description |
---|---|---|
header | HttpRequestHeader | The header. |
value | String | The header value. |
See Also
- Enum HttpRequestHeader
- Class String
- Class WebHeaderCollection
- Namespace System::Net
- Library Aspose.PUB for C++