HttpSessionStateWrapper.Item Property (Int32)
.NET Framework (current version)
Gets or sets a session value by using the specified index.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System.Int32
The index of the session value.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | index is outside the valid range of indexes for the collection. |
.NET Framework
Available since 3.5
Available since 3.5
Show: