System.RegularExpressions.TGroupCollection.GetEnumerator
Delphi
function GetEnumerator: TGroupCollectionEnumerator;
C++
TGroupCollectionEnumerator* __fastcall GetEnumerator();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.RegularExpressions.pas System.RegularExpressions.hpp |
System.RegularExpressions | TGroupCollection |
Description
Acquires a TGroupCollection to iterate through the TGroup instances in the collection.
GetEnumerator returns a TGroupCollectionEnumerator object. TGroupCollectionEnumerator 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.