System.Web.Configuration.AuthorizationRuleCollection.Add Method

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

Syntax

public void Add (AuthorizationRule rule)

Parameters

rule
The System.Web.Configuration.AuthorizationRule object to add to the collection.

Remarks

The collection must not already contain the System.Web.Configuration.AuthorizationRule object you are adding.

Requirements

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