AuthorizationRuleCollection.Get(Int32) Methode

Definitie

Haalt de AuthorizationRule opgegeven index op.

public:
 System::Web::Configuration::AuthorizationRule ^ Get(int index);
public System.Web.Configuration.AuthorizationRule Get(int index);
member this.Get : int -> System.Web.Configuration.AuthorizationRule
Public Function Get (index As Integer) As AuthorizationRule

Parameters

index
Int32

De AuthorizationRule index.

Retouren

De AuthorizationRule opgegeven index.

Voorbeelden

In het volgende codevoorbeeld ziet u hoe u de Get methode gebruikt. Raadpleeg het codevoorbeeld in het AuthorizationSection klasseonderwerp voor meer informatie over het ophalen van de verzameling.

// Using the AuthorizationRuleCollection Get method.
AuthorizationRule authRule = 
    authorizationRuleCollection.Get(0);
' Using the AuthorizationRuleCollection Get method.
  Dim authRule As AuthorizationRule = _
  authorizationRuleCollection.Get(0)

Van toepassing op