HttpSessionStateBase.Add Method (String, Object)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

abstract Add : 
        name:string *
        value:Object -> unit
override Add : 
        name:string *
        value:Object -> unit

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: