System.Web.Configuration.OutputCacheProfileCollection.RemoveAt Method

Removes the System.Web.Configuration.OutputCacheProfile object at the specified index from the collection.

Syntax

public void RemoveAt (int index)

Parameters

index
The index of the System.Web.Configuration.OutputCacheProfile element to remove from the collection.

Remarks

The OutputCacheProfileCollection.RemoveAt(int) method inserts a remove element into the corresponding section of the configuration file for any element defined in a higher-level configuration file. If the element is defined in the corresponding section of the current configuration file, its entry is removed from the configuration file. The object to remove must exist in the collection.

Requirements

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