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 Overridable Sub Add (
	name As String,
	value As Object
)

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: