ListBox.SelectedIndexCollection.GetEnumerator 方法

定义

返回枚举数,它们用于循环访问选定索引集合。Returns an enumerator to use to iterate through the selected indexes 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 selected indexes collection.

实现

适用于