System::Collections::Generic::IEnumerable::end 方法

IEnumerable::end() method

获取指向集合中最后一个元素之后的位置的迭代器(如果有)。由于 GetEnumerator() 返回 T 的拷贝对象,此迭代器无法用于更改被引用的对象。

iterator System::Collections::Generic::IEnumerable<T>::end()

ReturnValue

指向集合中最后一个元素之后的位置的迭代器(如果有)

另见

IEnumerable::end() const method

获取指向集合的 const 限定实例中最后一个元素之后的位置的迭代器(如果存在)。

const_iterator System::Collections::Generic::IEnumerable<T>::end() const

ReturnValue

指向集合中 const 限定实例的最后一个元素之后的位置的迭代器(如果有)

另见