Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

HttpSessionStateBase.Item Property (String)

When overridden in a derived class, gets or sets a session value by using the specified name.

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

public virtual Object this[
	string name
] { get; set; }

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.

ExceptionCondition
NotImplementedException

Always.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft