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)
public: property Object^ default[ int index ] { virtual Object^ get(int index) override; virtual void set(int index, Object^ value) override; }
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: