ListBox.SelectedObjectCollection.GetEnumerator 方法

定義

傳回列舉值,其可用來在選取項目集合中重複。Returns an enumerator that can be used to iterate through the selected item collection.

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

傳回

IEnumerator,表示項目集合。An IEnumerator that represents the item collection.

實作

適用於