HttpSessionStateBase::Add Method (String^, Object^)

 

When overridden in a derived class, adds an item to the session-state collection.

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

public:
virtual void Add(
	String^ name,
	Object^ value
)

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.

Exception Condition
NotImplementedException

Always.

.NET Framework
Available since 3.5
Return to top
Show: