Modifier

Partager via


DirectoryServicesPermissionEntryCollection.CopyTo Method

Definition

Copies all DirectoryServicesPermissionEntry objects in this collection to the specified array, starting at the specified index in the target array.

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

Parameters

array
DirectoryServicesPermissionEntry[]

The array of DirectoryServicesPermissionEntry objects that receives the elements of this collection.

index
Int32

The zero-based index in the array where this method starts copying this collection.

Applies to

See also