Edit

Share via


HttpSessionStateWrapper.Add(String, Object) Method

Definition

Adds an item to the session-state collection.

public:
 override void Add(System::String ^ name, System::Object ^ value);
public override void Add (string name, object value);
override this.Add : string * obj -> unit
Public Overrides Sub Add (name As String, value As Object)

Parameters

name
String

The name of the item to add to the session-state collection.

value
Object

The value of the item to add to the session-state collection.

Applies to