IsValid()

BaseEnumerator::IsValid() const method

Checks whether MoveNext() was called and end was not reached.

bool System::Collections::Generic::BaseEnumerator<Container, Element>::IsValid() const

Return Value

false if MoveNext() was not called at all or container end is hit; true otherwise.

See Also