ImmutableArray<T>.CopyTo ImmutableArray<T>.CopyTo ImmutableArray<T>.CopyTo ImmutableArray<T>.CopyTo Method

Definition

Overloads

CopyTo(Int32, T[], Int32, Int32) CopyTo(Int32, T[], Int32, Int32) CopyTo(Int32, T[], Int32, Int32) CopyTo(Int32, T[], Int32, Int32)

Copies the specified items in this array to the specified array at the specified starting index.

CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)

Copies the contents of this array to the specified array starting at the specified destination index.

CopyTo(T[]) CopyTo(T[]) CopyTo(T[]) CopyTo(T[])

Copies the contents of this array to the specified array.

CopyTo(Int32, T[], Int32, Int32) CopyTo(Int32, T[], Int32, Int32) CopyTo(Int32, T[], Int32, Int32) CopyTo(Int32, T[], Int32, Int32)

Copies the specified items in this array to the specified array at the specified starting index.

public:
 void CopyTo(int sourceIndex, cli::array <T> ^ destination, int destinationIndex, int length);
public void CopyTo (int sourceIndex, T[] destination, int destinationIndex, int length);
member this.CopyTo : int * 'T[] * int * int -> unit
Public Sub CopyTo (sourceIndex As Integer, destination As T(), destinationIndex As Integer, length As Integer)

Parameters

sourceIndex
Int32 Int32 Int32 Int32

The index of this array where copying begins.

destination
T[]

The array to copy to.

destinationIndex
Int32 Int32 Int32 Int32

The index in array where copying begins.

length
Int32 Int32 Int32 Int32

The number of elements to copy from this array.

CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32) CopyTo(T[], Int32)

Copies the contents of this array to the specified array starting at the specified destination index.

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

Parameters

destination
T[]

The array to copy to.

destinationIndex
Int32 Int32 Int32 Int32

The index in array where copying begins.

Implements

CopyTo(T[]) CopyTo(T[]) CopyTo(T[]) CopyTo(T[])

Copies the contents of this array to the specified array.

public:
 void CopyTo(cli::array <T> ^ destination);
public void CopyTo (T[] destination);
member this.CopyTo : 'T[] -> unit
Public Sub CopyTo (destination As T())

Parameters

destination
T[]

The array to copy to.

Applies to