System.RegularExpressions.TMatchCollection.GetEnumerator
Delphi
function GetEnumerator: TMatchCollectionEnumerator;
C++
TMatchCollectionEnumerator* __fastcall GetEnumerator(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.RegularExpressions.pas System.RegularExpressions.hpp |
System.RegularExpressions | TMatchCollection |
Description
Aquires a TMatchCollectionEnumerator to iterate through the TMatch instances in the collection.
GetEnumerator returns a TMatchCollectionEnumerator object. TMatchCollectionEnumerator has methods and properties to enumerate through the collection. This enumeration is very expensive compared to using the Count property and indexing through the Item array.