Vcl.Grids.TStringGridStrings.GetCount

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

Delphi

function GetCount: Integer; override;

C++

virtual int __fastcall GetCount();

プロパティ

種類 可視性 ソース ユニット
function protected
Vcl.Grids.pas
Vcl.Grids.hpp
Vcl.Grids TStringGridStrings

説明

リストにある文字列の数を返します。

Vcl.Grids.TStringGridStrings.GetCount は System.Classes.TStrings.GetCount を継承しています。以下の内容はすべて System.Classes.TStrings.GetCount を参照しています。

リストにある文字列の数を返します。

GetCount メソッドは,Count プロパティの読み出し専用のプロテクトメソッドです。

TStrings では,GetCount は,抽象メソッド(C++ の純粋仮想メソッドにあたる)です。したがって,メソッドは実装されていません。下位クラスは,このメソッドをオーバーライドして,リストに追加されている文字列の数を返す必要があります。

関連項目