System::Collections::Generic::IEnumerable::begin 方法

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 限定实例的第一个元素(如果有)的迭代器

另见