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 限定实例中最后一个元素(如果有)之后

另见