AuthorizationRuleCollection.AddRule(AuthorizationRule) 方法

定义

AuthorizationRule 对象添加到集合。

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)

参数

rule
AuthorizationRule

要添加到集合的 AuthorizationRule 对象。

适用于