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

C#
public void CopyTo(Microsoft.Build.BuildEngine.UsingTask[] array, int index);

Parameters

array
UsingTask[]
index
Int32

Remarks

Ostrzeżenie

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

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

C#
public void CopyTo(Array array, int index);

Parameters

array
Array
index
Int32

Implements

Remarks

Ostrzeżenie

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

.NET Framework 4.8.1 i inne wersje
Produkt Wersje
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1