HttpSessionStateContainer::Add Method (String^, Object^)
.NET Framework (current version)
Adds a new item to the session-state collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System::String^
The name of the item to add to the session-state collection.
- value
-
Type:
System::Object^
The value of the item to add to the session-state collection.
Implements
IHttpSessionState::Add(String^, Object^)If the name parameter refers to an existing session-state item, the existing item is overwritten with the specified value.
.NET Framework
Available since 2.0
Available since 2.0
Show: