Partager via


TaskCollection.CopyTo Method (Task[], Int32)

 

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

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public void CopyTo(
    Task[] array,
    int arrayIndex
)
public:
virtual void CopyTo(
    array<Task^>^ array,
    int arrayIndex
) sealed
Public Sub CopyTo (
    array As Task(),
    arrayIndex As Integer
)

Parameters

  • arrayIndex
    Type: System.Int32

    The zero-based index in the array where the copying begins.

Implements

ICollection<T>.CopyTo(T[], Int32)

See Also

TaskCollection Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top