System::ObjectExt::UnboxStringSafe method

ObjectExt::UnboxStringSafe method

Unboxes string from boxed value.

static String System::ObjectExt::UnboxStringSafe(const SmartPtr<Object> &obj)
ParameterTypeDescription
objconst SmartPtr<Object>&Boxed string value.

ReturnValue

If obj is a boxed string, returns unboxed value, otherwise returns empty string.

See Also