SolutionConfigurations.GetEnumerator 方法

定義

取得集合中項目的列舉。Gets an enumeration for items in a collection.

public:
 System::Collections::IEnumerator ^ GetEnumerator();
[System.Runtime.InteropServices.DispId(-4)]
[System.Runtime.InteropServices.TypeLibFunc(1)]
public System.Collections.IEnumerator GetEnumerator ();
[<System.Runtime.InteropServices.DispId(-4)>]
[<System.Runtime.InteropServices.TypeLibFunc(1)>]
abstract member GetEnumerator : unit -> System.Collections.IEnumerator
Public Function GetEnumerator () As IEnumerator

傳回

IEnumerator

列舉值。An enumerator.

實作

屬性

備註

這個方法是在中明確使用 Visual C++Visual C++This method is used explicitly in Visual C++Visual C++. Visual C#Visual C# Visual BasicVisual Basic 使用在 foreach 內部使用 GetEnumerator 方法的迴圈。and Visual BasicVisual Basic use the foreach loop that uses the GetEnumerator method internally.

適用於