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