The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
WebHeaderCollection::Item Property (HttpResponseHeader)
.NET Framework (current version)
Gets or sets the specified response header.
Assembly: System (in System.dll)
public: property String^ default[ HttpResponseHeader header ] { String^ get(HttpResponseHeader header); void set(HttpResponseHeader header, String^ value); }
Parameters
- header
-
Type:
System.Net::HttpResponseHeader
The response header value.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The length of value is greater than 65535. |
| InvalidOperationException | This WebHeaderCollection instance does not allow instances of HttpResponseHeader. |
Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Available since 10
.NET Framework
Available since 2.0
Show: