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)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Copy the contents of this collection into a strongly typed array

CopyTo(Array, Int32)

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

ICollection member method for copying the contents of this collection into an array

CopyTo(Import[], Int32)

Source:
ImportCollection.cs

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

Copy the contents of this collection into a strongly typed 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[]
index
Int32

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to

CopyTo(Array, Int32)

Source:
ImportCollection.cs

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.ConstructionMicrosoft.Build.EvaluationMicrosoft.Build.Execution

ICollection member method for copying the contents of this collection into an 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
Public Sub CopyTo (array As Array, index As Integer)

Parameters

array
Array
index
Int32

Implements

Remarks

Warning

This method (and the whole namespace) is deprecated. Please use the classes in these namespaces instead: Microsoft.Build.Construction Microsoft.Build.Evaluation Microsoft.Build.Execution

Applies to