System.RegularExpressions.TMatchCollection.GetEnumerator

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetEnumerator: TMatchCollectionEnumerator;

C++

TMatchCollectionEnumerator* __fastcall GetEnumerator(void);

プロパティ

種類 可視性 ソース ユニット
function public
System.RegularExpressions.pas
System.RegularExpressions.hpp
System.RegularExpressions TMatchCollection

説明

TMatchCollectionEnumerator を呼び出すと、コレクション内の TMatch インスタンスを反復処理します。

GetEnumerator は、TMatchCollectionEnumerator オブジェクトを返します。TMatchCollectionEnumerator には、コレクション全体を通じて列挙されるメソッドとプロパティがあります。この列挙子は Count プロパティの使用時と比べるとかなり負荷がかかり、Item 配列を通じてインデックスが付けられます。

関連項目