UsingTaskCollection.CopyTo Method

Definition

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

Overloads

CopyTo(UsingTask[], 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(UsingTask[], Int32)

Source:
UsingTaskCollection.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::UsingTask ^> ^ array, int index);
public void CopyTo (Microsoft.Build.BuildEngine.UsingTask[] array, int index);
member this.CopyTo : Microsoft.Build.BuildEngine.UsingTask[] * int -> unit
Public Sub CopyTo (array As UsingTask(), index As Integer)

Parameters

array
UsingTask[]
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:
UsingTaskCollection.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