System.UnicodeString.ToInt
C++
int ToInt() const;
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
function | public | ustring.h | System | UnicodeString |
説明
文字列を整数に変換します。文字列が無効である場合は例外を送出します。
ToInt は、指定の文字列を整数値に変換して整数を返します。文字列に有効な値が含まれていない場合は、EConvertError 例外が発生します。