ToolsetCollection.GetEnumerator ToolsetCollection.GetEnumerator ToolsetCollection.GetEnumerator ToolsetCollection.GetEnumerator Method

Definition

Gets an enumerator that iterates through the ToolsetCollection.

public:
 virtual System::Collections::Generic::IEnumerator<Microsoft::Build::BuildEngine::Toolset ^> ^ GetEnumerator();
public System.Collections.Generic.IEnumerator<Microsoft.Build.BuildEngine.Toolset> GetEnumerator ();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Build.BuildEngine.Toolset>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<Microsoft.Build.BuildEngine.Toolset>
Public Function GetEnumerator () As IEnumerator(Of Toolset)

Returns

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 Toolset objects in the ToolsetCollection.

Applies to