ToolsetCollection.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.
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
An IEnumerator for the entire ToolsetCollection.
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.