System.RegularExpressions.TMatchCollectionEnumerator.MoveNext

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function MoveNext: Boolean;

C++

bool __fastcall MoveNext(void);

Properties

Type Visibility Source Unit Parent
function public
System.RegularExpressions.pas
System.RegularExpressions.hpp
System.RegularExpressions TMatchCollectionEnumerator

Description

Moves the enumerator to the next member of the collection.

MoveNext advances the enumerator. Since the position of the enumerator when initialized is before the first element, a ERegularExpressionError is thrown if Current is accessed before the first MoveNext call. When the position is on the last element of the collection, further MoveNext calls do nothing.

See Also