AuthorizationRuleCollection.Get Method (Int32)
.NET Framework (current version)
Gets the AuthorizationRule at the specified index.
Assembly: System.Web (in System.Web.dll)
Parameters
- index
-
Type:
System.Int32
The AuthorizationRule index.
Return Value
Type: System.Web.Configuration.AuthorizationRuleThe AuthorizationRule at the specified index.
The following code example shows how to use the Get method. Refer to the code example in the AuthorizationSection class topic to learn how to get the collection.
.NET Framework
Available since 2.0
Available since 2.0
Show: