HttpSessionState::Item Property (Int32)
.NET Framework (current version)
Gets or sets a session value by numerical index.
Assembly: System.Web (in System.Web.dll)
public: 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 value.
Property Value
Type: System::Object^The session-state value stored at the specified index, or null if the item does not exist.
.NET Framework
Available since 1.1
Available since 1.1
Show: