Partager via


TaskCollection.GetEnumerator Method ()

 

Returns an enumerator that is used to iterate through the TaskCollection.

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

Syntax

public IEnumerator<Task> GetEnumerator()
public:
virtual IEnumerator<Task^>^ GetEnumerator() sealed
Public Function GetEnumerator As IEnumerator(Of Task)

Return Value

Type: System.Collections.Generic.IEnumerator<Task>

An enumerator object that can be used to iterate through the TaskCollection.

Implements

IEnumerable<T>.GetEnumerator()

See Also

TaskCollection Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace

Return to top