ListView.SelectedListViewItemCollection.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

IEnumerator,表示选定项的集合。An IEnumerator that represents the collection of selected items.

实现

适用于