System.UnicodeString.ToInt

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

C++

int          ToInt() const;

プロパティ

種類 可視性 ソース ユニット
function public ustring.h System UnicodeString

説明

文字列を整数に変換します。文字列が無効である場合は例外を送出します。

ToInt は、指定の文字列を整数値に変換して整数を返します。文字列に有効な値が含まれていない場合は、EConvertError 例外が発生します。

関連項目