ActivityCollection.IEnumerable.GetEnumerator 方法
定义
返回循环访问基础 IEnumerator 的 IList。Returns an IEnumerator that iterates through the underlying IList.
virtual System::Collections::IEnumerator ^ System.Collections.IEnumerable.GetEnumerator() = System::Collections::IEnumerable::GetEnumerator;
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
override this.System.Collections.IEnumerable.GetEnumerator : unit -> System.Collections.IEnumerator
Function GetEnumerator () As IEnumerator Implements IEnumerable.GetEnumerator
返回
可用于循环访问集合的 IEnumerator。An IEnumerator that can be used to iterate through the collection.
实现
注解
IEnumerator 只允许读取集合中的数据。An IEnumerator only allows for reading the data in the collection. 不能使用 IEnumerator 修改基础集合。You cannot use an IEnumerator to modify the underlying collection.