ProfileInfoCollection.GetEnumerator 方法

定义

获取可循环访问 ProfileInfoCollection 的枚举器。Gets an enumerator that can iterate through the ProfileInfoCollection.

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

用于整个 ProfileInfoCollectionIEnumeratorAn IEnumerator for the entire ProfileInfoCollection.

实现

注解

枚举器仅允许读取集合中的数据。Enumerators only allow reading the data in the collection. 枚举器不能用于修改基础集合。Enumerators cannot be used to modify the underlying collection. 有关详细信息,请参阅 IEnumeratorFor more information, see IEnumerator.

适用于