AuthorizationRuleCollection.CopyTo(AuthorizationRule[], Int32) 方法

定义

将集合的内容复制到数组中。

public:
 void CopyTo(cli::array <System::Security::AccessControl::AuthorizationRule ^> ^ rules, int index);
public void CopyTo (System.Security.AccessControl.AuthorizationRule[] rules, int index);
member this.CopyTo : System.Security.AccessControl.AuthorizationRule[] * int -> unit
Public Sub CopyTo (rules As AuthorizationRule(), index As Integer)

参数

rules
AuthorizationRule[]

将集合内容复制到的目标数组。

index
Int32

从零开始的索引,从此处开始复制。

适用于