WebHeaderCollection.Item Property (HttpResponseHeader)
.NET Framework (current version)
Gets or sets the specified response header.
Assembly: System (in System.dll)
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: