System.Web.Configuration.AuthorizationRuleCollection: Method Members

The methods of System.Web.Configuration.AuthorizationRuleCollection are listed below. For a list of all members, see the AuthorizationRuleCollection Members list.

See Also: Inherited members from System.Configuration.ConfigurationElementCollection

Public Methods

Add(AuthorizationRule)

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

Clear()

Removes all System.Web.Configuration.AuthorizationRule objects from the collection.

Get(int) : AuthorizationRule

Gets the System.Web.Configuration.AuthorizationRule at the specified index.

IndexOf(AuthorizationRule) : int

Gets the collection index of the specified System.Web.Configuration.AuthorizationRule object.

Remove(AuthorizationRule)

Removes a System.Web.Configuration.AuthorizationRule object from the collection.

RemoveAt(int)

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

Set(int, AuthorizationRule)

Adds the specified System.Web.Configuration.AuthorizationRule object to the collection at the specified index.

Protected Methods