System.Web.Configuration.RuleSettingsCollection.Insert Method

Adds the specified System.Web.Configuration.RuleSettings object to the specified index point in the collection.

Syntax

public void Insert (int index, RuleSettings eventSettings)

Parameters

index
A valid index of a System.Web.Configuration.RuleSettings object in the collection.
eventSettings
The System.Web.Configuration.RuleSettings object to insert into the collection.

Remarks

If the index parameter equals the number of items in the collection, then the entry is appended to the end of the collection.

Requirements

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