HttpApplicationState.Remove Method (String)

 
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.

Removes the named object from an HttpApplicationState collection.

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

public void Remove(
	string name
)

Parameters

name
Type: System.String

The name of the object to be removed from the collection.

The following example removes one application state variable from the collection.

Application.Remove("MyAppVar1");

.NET Framework
Available since 1.1
Return to top
Show: