HttpSessionState.Item Property (String)

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

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

member Item : 
        name:string -> Object with get, set

Parameters

name
Type: System.String

The key name of the session value.

Property Value

Type: System.Object

The session-state value with the specified name, or null if the item does not exist.

.NET Framework
Available since 1.1
Return to top
Show: