HttpSessionStateWrapper::Item Property (String^)
.NET Framework (current version)
Gets or sets a session value by using the specified name.
Assembly: System.Web (in System.Web.dll)
public: property Object^ default[ String^ name ] { virtual Object^ get(String^ name) override; virtual void set(String^ name, Object^ value) override; }
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
Available since 3.5
Show: