MatchCollection.Count プロパティ
アセンブリ: System (system.dll 内)


一致する対象をすべて見つけるために、Count プロパティにアクセスした直後に正規表現エンジンを実行する必要があります。しかし、一致する対象を列挙するために GetEnumerator が使用されている場合は、正規表現エンジンは必要な検索だけを実行します。

// Report the number of matches found. Console.WriteLine("{0} matches found.", matches.Count);

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からMatchCollection.Count プロパティを検索する場合は、下記のリンクをクリックしてください。

- MatchCollection.Count プロパティのページへのリンク