HttpSessionStateWrapper.Item Property (String)

 

Gets or sets a session value by using the specified name.

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

Public Overrides Property Item (
	name As String
) As Object

Parameters

name
Type: System.String

The key name of the session value.

Property Value

Type: System.Object

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

.NET Framework
Available since 3.5
Return to top
Show: