Méthode System::ObjectExt::ToString

ObjectExt::ToString(const char_t *) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

static String System::ObjectExt::ToString(const char_t *obj)
ParamètreTypeDescription
objconst char_t *String littéral à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(const Nullable<T>&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static String System::ObjectExt::ToString(const Nullable<T> &obj)
ParamètreDescription
Ttype Nullable.
ParamètreTypeDescription
objconst Nullable<T>&objet Nullable à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(const T&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<std::is_enum<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
ParamètreDescription
Ttype Enum.
ParamètreTypeDescription
objconst T&valeur Enum à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(const T&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<IsSmartPtr<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
ParamètreDescription
Ttype de pointeur intelligent.
ParamètreTypeDescription
objconst T&valeur SmartPtr à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(const T&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&!std::is_scalar<T>::value &&!IsNullable<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
ParamètreDescription
Ttype de structure.
ParamètreTypeDescription
objconst T&valeur de structure à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&std::is_scalar<T>::value &&!std::is_enum<T>::value, String>::type System::ObjectExt::ToString(T &&obj)
ParamètreDescription
Ttype scalaire.
ParamètreTypeDescription
objT\&&valeur scalaire à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&!std::is_scalar<T>::value &&!IsNullable<T>::value &&!std::is_reference<T>::value, String>::type System::ObjectExt::ToString(T &&obj)
ParamètreDescription
Ttype scalaire.
ParamètreTypeDescription
objT\&&valeur scalaire à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<IsSmartPtr<T>::value||std::is_pointer<T>::value||IsExceptionWrapper<T>::value, String>::type System::ObjectExt::ToString(T &obj)
ParamètreDescription
Ttype de pointeur intelligent ou ExceptionWrapper.
ParamètreTypeDescription
objT&Pointeur intelligent ou ExceptionWrapper pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<!IsSmartPtr<T>::value &&std::is_scalar<T>::value &&!std::is_enum<T>::value, String>::type System::ObjectExt::ToString(T &obj)
ParamètreDescription
Ttype scalaire.
ParamètreTypeDescription
objT&valeur scalaire à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&) method

Substitution de la méthode C# ToString pour fonctionner avec n’importe quel type C++.

template<typename T> static std::enable_if<!IsExceptionWrapper<T>::value &&!IsSmartPtr<T>::value &&!std::is_scalar<T>::value &&!IsNullable<T>::value, String>::type System::ObjectExt::ToString(T &obj)
ParamètreDescription
Ttype de structure.
ParamètreTypeDescription
objT&valeur de structure à convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi