ImportCollection.CopyTo ImportCollection.CopyTo ImportCollection.CopyTo ImportCollection.CopyTo Method

Definition

Copies the entire ImportCollection to a compatible one-dimensional Array, starting at the specified index of the target array.

Overloads

CopyTo(Import[], Int32) CopyTo(Import[], Int32) CopyTo(Import[], Int32) CopyTo(Import[], Int32)

Copies the entire ImportCollection to a compatible one-dimensional Array of Import objects, starting at the specified index of the target array.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the entire ImportCollection to a compatible one-dimensional Array, starting at the specified index of the target array.

CopyTo(Import[], Int32) CopyTo(Import[], Int32) CopyTo(Import[], Int32) CopyTo(Import[], Int32)

Copies the entire ImportCollection to a compatible one-dimensional Array of Import objects, starting at the specified index of the target array.

public:
 void CopyTo(cli::array <Microsoft::Build::BuildEngine::Import ^> ^ array, int index);
public void CopyTo (Microsoft.Build.BuildEngine.Import[] array, int index);
member this.CopyTo : Microsoft.Build.BuildEngine.Import[] * int -> unit
Public Sub CopyTo (array As Import(), index As Integer)

Parameters

array
Import[]

The one-dimensional Array of Import objects that is the destination of the elements copied from ImportCollection. The Array must have zero-based indexing.

index
Int32 Int32 Int32 Int32

The zero-based index in array at which copying begins.

CopyTo(Array, Int32) CopyTo(Array, Int32) CopyTo(Array, Int32)

Copies the entire ImportCollection to a compatible one-dimensional Array, starting at the specified index of the target array.

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

Parameters

array
Array Array Array Array

The one-dimensional Array that is the destination of the elements copied from ImportCollection. The Array must have zero-based indexing.

index
Int32 Int32 Int32 Int32

The zero-based index in array at which copying begins.

Implements

Applies to