Redigera

Dela via


PermissionSet.CopyTo(Array, Int32) Method

Definition

Copies the permission objects of the set to the indicated location in an Array.

public:
 virtual void CopyTo(Array ^ array, int index);
public virtual void CopyTo (Array array, int index);
abstract member CopyTo : Array * int -> unit
override this.CopyTo : Array * int -> unit
Public Overridable Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array

The target array to which to copy.

index
Int32

The starting position in the array to begin copying (zero based).

Implements

Exceptions

The array parameter is null.

The array parameter has more than one dimension.

The index parameter is out of the range of the array parameter.

Applies to