Vcl.ListActns.TCustomVirtualListAction.GetString

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

Delphi

function GetString(Index: Integer): String; override;

C++

virtual System::UnicodeString __fastcall GetString(int Index);

プロパティ

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

説明

Strings プロパティの値を返します。

Vcl.ListActns.TCustomVirtualListAction.GetString は Vcl.ListActns.TCustomListAction.GetString を継承しています。以下の内容はすべて Vcl.ListActns.TCustomListAction.GetString を参照しています。

Strings プロパティの値を返します。

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

TCustomListAction では,GetString は常に空の文字列を返します。

GetString をオーバーライドすると,より内容のある値を Strings プロパティに提供できます。たとえば,TStaticListActionGetString をオーバーライドして,指定の項目のキャプションを返します。

関連項目