HttpApplicationStateBase.Add(String, Object) Method

Definition

When overridden in a derived class, adds a new object to the collection.

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

Parameters

name
String

The name of the object to add to the collection.

value
Object

The value of the object.

Exceptions

Applies to