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 virtual object this[
	int index
] { get; set; }

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: