Méthode System::ObjectExt::UnboxStringSafe

ObjectExt::UnboxStringSafe method

Déboîte la chaîne à partir d’une valeur emballée.

static String System::ObjectExt::UnboxStringSafe(const SmartPtr<Object> &obj)
ParamètreTypeDescription
objconst SmartPtr<Object>&Valeur de chaîne emballée.

ReturnValue

Si obj est une chaîne emballée, renvoie la valeur déballée, sinon renvoie une chaîne vide.

Voir aussi