Partager via


ReadOnlyLinkedElementCollection<T>.CopyTo(T[], Int32) Method

Definition

Copies all role players to the given array.

public:
 virtual void CopyTo(cli::array <T> ^ array, int arrayIndex);
public void CopyTo (T[] array, int arrayIndex);
abstract member CopyTo : 'T[] * int -> unit
override this.CopyTo : 'T[] * int -> unit
Public Sub CopyTo (array As T(), arrayIndex As Integer)

Parameters

array
T[]

Array to copy to.

arrayIndex
Int32

Index inside array where first element will be copied.

Implements

Applies to