HttpSessionStateBase::Item Property (Int32)

 

When overridden in a derived class, gets or sets a session value by using the specified index.

Namespace:   System.Web
Assembly:  System.Web (in System.Web.dll)

public:
property Object^ default[
	int index
] {
	virtual Object^ get(int index);
	virtual void set(int index, Object^ value);
}

Parameters

index
Type: System::Int32

The index of the session value.

Property Value

Type: System::Object^

The session-state value that is stored at the specified index.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: