Metodo System::ObjectExt::ToString

ObjectExt::ToString(const char_t *) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo C++.

static String System::ObjectExt::ToString(const char_t *obj)
ParametroTipoDescrizione
objconst char_t *letterale String da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

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

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo C++.

template<typename T> static String System::ObjectExt::ToString(const Nullable<T> &obj)
ParametroDescrizione
Ttipo Nullable.
ParametroTipoDescrizione
objconst Nullable<T>&oggetto Nullable da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(const T&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo C++.

template<typename T> static std::enable_if<std::is_enum<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
ParametroDescrizione
Ttipo Enum.
ParametroTipoDescrizione
objconst T&valore Enum da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(const T&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo C++.

template<typename T> static std::enable_if<IsSmartPtr<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
ParametroDescrizione
Ttipo smart pointer.
ParametroTipoDescrizione
objconst T&valore SmartPtr da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(const T&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo 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)
ParametroDescrizione
Ttipo struttura.
ParametroTipoDescrizione
objconst T&valore struttura da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(T&&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo 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)
ParametroDescrizione
Ttipo scalare.
ParametroTipoDescrizione
objT&&valore scalare da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(T&&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo 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)
ParametroDescrizione
Ttipo scalare.
ParametroTipoDescrizione
objT&&valore scalare da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(T&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo 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)
ParametroDescrizione
Ttipo smart pointer o ExceptionWrapper.
ParametroTipoDescrizione
objT&smart pointer o ExceptionWrapper da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(T&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo 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)
ParametroDescrizione
Ttipo scalare.
ParametroTipoDescrizione
objT&valore scalare da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(T&) method

Sostituzione del metodo ToString di C# per funzionare su qualsiasi tipo 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)
ParametroDescrizione
Ttipo struttura.
ParametroTipoDescrizione
objT&valore struttura da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche