System::Collections::Generic::EnumeratorWrapperIterator::IteratorEquals 方法

EnumeratorWrapperIterator::IteratorEquals method

检查两个迭代器是否指向同一项。

bool System::Collections::Generic::EnumeratorWrapperIterator<Element>::IteratorEquals(System::Details::VirtualizedIteratorBase<Element> *other) const override
参数类型描述
其他System::Details::VirtualizedIteratorBase<Element> *用于比较的迭代器。

ReturnValue

如果此迭代器和 other 迭代器都指向同一项,则为 true,否则为 false。

另见