AuthorizationRuleCollection.Set Method (Int32, AuthorizationRule)
.NET Framework (current version)
Adds the specified AuthorizationRule object to the collection at the specified index.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System.Int32
The index location at which to add the specified AuthorizationRuleCollection object.
- rule
-
Type:
System.Web.Configuration.AuthorizationRule
The AuthorizationRule object to be added.
The following code example shows how to use the Set method.
.NET Framework
Available since 2.0
Available since 2.0
Show: