System::ObjectExt::ToString メソッド

ObjectExt::ToString(const char_t *) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

static String System::ObjectExt::ToString(const char_t *obj)
パラメーター説明
objconst char_t *String リテラルを文字列に変換します。

ReturnValue

String representation of obj.

参照

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

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

template<typename T> static String System::ObjectExt::ToString(const Nullable<T> &obj)
パラメーター説明
TNullable 型。
パラメーター説明
objconst Nullable<T>&Nullable オブジェクトを文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(const T&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

template<typename T> static std::enable_if<std::is_enum<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
パラメーター説明
TEnum 型。
パラメーター説明
objconst T&Enum 値を文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(const T&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

template<typename T> static std::enable_if<IsSmartPtr<T>::value, String>::type System::ObjectExt::ToString(const T &obj)
パラメーター説明
Tスマートポインタ型。
パラメーター説明
objconst T&SmartPtr 値を文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(const T&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

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)
パラメーター説明
T構造体型。
パラメーター説明
objconst T&構造体の値を文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(T&&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

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)
パラメーター説明
Tスカラー型。
パラメーター説明
objT&&スカラー値を文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(T&&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

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)
パラメーター説明
Tスカラー型。
パラメーター説明
objT&&スカラー値を文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(T&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

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)
パラメーター説明
Tスマートポインタ型または ExceptionWrapper
パラメーター説明
objT&スマートポインタまたは ExceptionWrapper を文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(T&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

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)
パラメーター説明
Tスカラー型。
パラメーター説明
objT&スカラー値を文字列に変換します。

ReturnValue

String representation of obj.

参照

ObjectExt::ToString(T&) method

任意の C++ 型で機能するように C# の ToString メソッドを置き換えます。

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)
パラメーター説明
T構造体型。
パラメーター説明
objT&構造体の値を文字列に変換します。

ReturnValue

String representation of obj.

参照