共用方式為


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

要開始複製之以零起始的索引。

適用於