System.Rtti.TValue.ToString

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

Delphi

function ToString(const AFormatSettings: TFormatSettings): string; overload;
function ToString: string; overload;

C++

System::UnicodeString __fastcall ToString(const System::Sysutils::TFormatSettings &AFormatSettings)/* overload */;
System::UnicodeString __fastcall ToString()/* overload */;

プロパティ

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

説明

TValue レコードに格納された値の文字列表現を返します。

ToString メソッドを呼び出すと、TValue レコードに格納された値を表す文字列を取得できます。格納された値の型は、それぞれ文字列表現が異なります。 例えば、格納された整数の文字列表現は、実際は IntToStr メソッドへの呼び出しによって取得される表現と同じです。

関連項目