System.Web.Configuration.RuleSettingsCollection.Add Method

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

Syntax

public void Add (RuleSettings ruleSettings)

Parameters

ruleSettings
A System.Web.Configuration.RuleSettings object to add to the collection.

Remarks

The collection must not already contain a System.Web.Configuration.RuleSettings 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