IHttpSessionState::Item Property (Int32)
.NET Framework (current version)
Gets or sets a session-state item value by numerical index.
Assembly: System.Web (in System.Web.dll)
property Object^ default[ int index ] { Object^ get(int index); void set(int index, Object^ value); }
Parameters
- index
-
Type:
System::Int32
The numerical index of the session-state item value.
The following code example implements the Item property of the IHttpSessionState interface to store and return an internal dictionary session-state item value by numeric index.
.NET Framework
Available since 2.0
Available since 2.0
Show: