Partager via


AuthorizationRuleCollection.AddRule(AuthorizationRule) Méthode

Définition

Ajoute un objet AuthorizationRule à la collection.

public:
 void AddRule(System::Security::AccessControl::AuthorizationRule ^ rule);
public void AddRule (System.Security.AccessControl.AuthorizationRule? rule);
public void AddRule (System.Security.AccessControl.AuthorizationRule rule);
member this.AddRule : System.Security.AccessControl.AuthorizationRule -> unit
Public Sub AddRule (rule As AuthorizationRule)

Paramètres

rule
AuthorizationRule

Objet AuthorizationRule à ajouter à la collection.

S’applique à