ListBox.ObjectCollection.GetEnumerator ListBox.ObjectCollection.GetEnumerator ListBox.ObjectCollection.GetEnumerator ListBox.ObjectCollection.GetEnumerator Method

定義

傳回列舉程式,其可用來在項目集合中重複。Returns an enumerator to use to iterate through the 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.

實作

適用於