バージョン 25.1 (最新)

Count プロパティ (SyntaxRuleCollection)

コレクションに含まれる要素の数を返します。
シンタックス
public int Count {get;}
参照