HttpSessionStateBase.Item Property (Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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)

abstract Item : 
        index:int -> Object with get, set
override Item : 
        index:int -> Object with 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: