Target.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
virtual System::Collections::IEnumerator ^ GetEnumerator();
public System.Collections.IEnumerator GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
override this.GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator
Returns
An IEnumerator for the BuildTask objects in the Target.
Implements
Remarks
This method allows the caller to use the foreach
statement of the C# language (for each
in Visual Basic) to iterate through the individual BuildTask objects in the Target.
A BuildTask object represents a child Task element of the Target
element.