System.Variants.VarToStr

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

Delphi

function VarToStr(const V: Variant): string;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall VarToStr(const System::Variant &V);

プロパティ

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


説明

バリアントの値を文字列に変換します。

VarToStr は、バリアント V のデータを文字列に変換し、その結果を返します。バリアントが null 値だった場合、VarToStr は、NullAsStringValue 変数の値を返します。

関連項目


コード例