HttpSessionStateContainer.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.

Gets or sets a session value by numerical index.

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

public object this[
	int index
] { get; set; }

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.

.NET Framework
Available since 2.0
Return to top
Show: