HttpSessionStateContainer::Item Property (String^)

 

Gets or sets a session value by name.

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

public:
property Object^ default[
	String^ name
] {
	virtual Object^ get(String^ name) sealed;
	virtual void set(String^ name, Object^ value) sealed;
}

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.

.NET Framework
Available since 2.0
Return to top
Show: