System.RegularExpressions.TMatchCollection.GetEnumerator
Delphi
function GetEnumerator: TMatchCollectionEnumerator;
C++
TMatchCollectionEnumerator* __fastcall GetEnumerator();
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | System.RegularExpressions.pas System.RegularExpressions.hpp |
System.RegularExpressions | TMatchCollection |
説明
TMatchCollectionEnumerator を呼び出すと、コレクション内の TMatch インスタンスを反復処理します。
GetEnumerator は、TMatchCollectionEnumerator オブジェクトを返します。TMatchCollectionEnumerator には、コレクション全体を通じて列挙されるメソッドとプロパティがあります。この列挙子は Count プロパティの使用時と比べるとかなり負荷がかかり、Item 配列を通じてインデックスが付けられます。