UnboxStringSafe()
ObjectExt::UnboxStringSafe(const SmartPtr<Object>&) method
Unboxes string from boxed value.
static String System::ObjectExt::UnboxStringSafe(const SmartPtr<Object> &obj)
Arguments
| Parameter | Type | Description |
|---|---|---|
| obj | const SmartPtr<Object>& | Boxed string value. |
Return Value
If obj is a boxed string, returns unboxed value, otherwise returns empty string.