System::ObjectExt::UnboxStringSafe メソッド

ObjectExt::UnboxStringSafe method

ボックスされた値から文字列をアンボックスします。

static String System::ObjectExt::UnboxStringSafe(const SmartPtr<Object> &obj)
パラメーター説明
objconst SmartPtr<Object>&ボックス化された文字列値です。

ReturnValue

obj がボックス化された文字列の場合はアンボックスされた値を返し、そうでない場合は空文字列を返します。

参照