Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- array 
 Type: Microsoft.WindowsServerSolutions.Administration.ObjectModel.Task[]- The one-dimensional array that is the destination of the elements copied from the TaskCollection. The array must have zero-based indexing. 
- 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