System::Collections::Generic::IEnumerable::begin method

IEnumerable::begin() method

获取指向集合中第一个元素(如果有)的迭代器。由于 GetEnumerator() 返回 T 的拷贝对象,不能使用此迭代器来修改被引用的对象。

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

ReturnValue

指向集合中第一个元素(如果有)的迭代器

另见

IEnumerable::begin() const method

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

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

ReturnValue

指向集合的 const 限定实例中第一个元素(如果有)的迭代器

另见