UnboxStringSafe()

ObjectExt::UnboxStringSafe(const SmartPtr<Object>&) method

Unboxes string from boxed value.

static String System::ObjectExt::UnboxStringSafe(const SmartPtr<Object> &obj)

Arguments

ParameterTypeDescription
objconst SmartPtr<Object>&Boxed string value.

Return Value

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

See Also