mscorlib(4.0.0.0) API with additions
AuthorizationRuleCollection.cs
1 using System.Collections;
2 
4 {
7  {
11  public AuthorizationRule this[int index]
12  {
13  get
14  {
15  return base.InnerList[index] as AuthorizationRule;
16  }
17  }
18 
21  public void AddRule(AuthorizationRule rule)
22  {
23  base.InnerList.Add(rule);
24  }
25 
29  public void CopyTo(AuthorizationRule[] rules, int index)
30  {
31  ((ICollection)this).CopyTo((Array)rules, index);
32  }
33  }
34 }
void CopyTo(AuthorizationRule[] rules, int index)
Copies the contents of the collection to an array.
Definition: __Canon.cs:3
Determines access to securable objects. The derived classes T:System.Security.AccessControl....
Provides the abstract base class for a strongly typed non-generic read-only collection.
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition: Array.cs:17
Represents a collection of T:System.Security.AccessControl.AuthorizationRule objects.
Defines size, enumerators, and synchronization methods for all nongeneric collections.
Definition: ICollection.cs:8
void AddRule(AuthorizationRule rule)
Adds an T:System.Web.Configuration.AuthorizationRule object to the collection.