System.Web.Configuration.OutputCacheProfileCollection.Add Method

Adds a System.Web.Configuration.OutputCacheProfile object to the collection.

Syntax

public void Add (OutputCacheProfile name)

Parameters

name
The name of the System.Web.Configuration.OutputCacheProfile object to add to the collection.

Remarks

The collection cannot contain a System.Web.Configuration.OutputCacheProfile object with the same name.

Requirements

Namespace: System.Web.Configuration
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0