System::ObjectExt::ToString méthode

ObjectExt::ToString(const char_t *) method

Substitution de la méthode ToString de C# 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 pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

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

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

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

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(const T&) method

Substitution de la méthode ToString de C# 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
TEnum type.
ParamètreTypeDescription
objconst T&Enum valeur pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(const T&) method

Substitution de la méthode ToString de C# 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&SmartPtr valeur pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(const T&) method

Substitution de la méthode ToString de C# 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 pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&&) method

Substitution de la méthode ToString de C# 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 pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&&) method

Substitution de la méthode ToString de C# 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 pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&) method

Substitution de la méthode ToString de C# 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 ToString de C# 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 pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi

ObjectExt::ToString(T&) method

Substitution de la méthode ToString de C# 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 pour convertir en chaîne.

ReturnValue

String representation of obj.

Voir aussi