AuthorizationRuleCollection.Set Method (Int32, AuthorizationRule)

 

Adds the specified AuthorizationRule object to the collection at the specified index.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

member Set : 
        index:int *
        rule:AuthorizationRule -> unit

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: