Metodo System::ObjectExt::ToString

ObjectExt::ToString(const char_t *) method

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

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

ReturnValue

String representation of obj.

Vedi anche

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

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

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

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(const T&) method

Sostituzione per il metodo C# ToString 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
TEnum tipo.
ParametroTipoDescrizione
objconst T&Enum valore da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(const T&) method

Sostituzione per il metodo C# ToString 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&SmartPtr valore da convertire in stringa.

ReturnValue

String representation of obj.

Vedi anche

ObjectExt::ToString(const T&) method

Sostituzione per il metodo C# ToString 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 per il metodo C# ToString 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 per il metodo C# ToString 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 per il metodo C# ToString 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 per il metodo C# ToString 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 per il metodo C# ToString 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