ToString()

Contents
[ ]

Convert::ToString(int8_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(int8_t value)

Arguments

ParameterTypeDescription
valueint8_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(uint8_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(uint8_t value)

Arguments

ParameterTypeDescription
valueuint8_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(int16_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(int16_t value)

Arguments

ParameterTypeDescription
valueint16_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(uint16_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(uint16_t value)

Arguments

ParameterTypeDescription
valueuint16_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(int32_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(int32_t value)

Arguments

ParameterTypeDescription
valueint32_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(uint32_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(uint32_t value)

Arguments

ParameterTypeDescription
valueuint32_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(int64_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(int64_t value)

Arguments

ParameterTypeDescription
valueint64_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(uint64_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(uint64_t value)

Arguments

ParameterTypeDescription
valueuint64_tThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(float) method

Converts the specified value to its string representation.

static String System::Convert::ToString(float value)

Arguments

ParameterTypeDescription
valuefloatThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(double) method

Converts the specified value to its string representation.

static String System::Convert::ToString(double value)

Arguments

ParameterTypeDescription
valuedoubleThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(const Decimal&) method

Converts the specified value to its string representation.

static String System::Convert::ToString(const Decimal &value)

Arguments

ParameterTypeDescription
valueconst Decimal&The value to convert.

Return Value

The string representation of the specified value.

Convert::ToString(DateTime) method

Converts the specified value to its string representation.

static String System::Convert::ToString(DateTime value)

Arguments

ParameterTypeDescription
valueDateTimeThe value to convert.

Return Value

The string representation of the specified value.

Convert::ToString(int8_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(int8_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint8_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int8_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int8_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int8_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int8_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int8_t, std::nullptr_t) method

static String System::Convert::ToString(int8_t value, std::nullptr_t)

Convert::ToString(uint8_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(uint8_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint8_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint8_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint8_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint8_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint8_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint8_t, std::nullptr_t) method

static String System::Convert::ToString(uint8_t value, std::nullptr_t)

Convert::ToString(int16_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(int16_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint16_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int16_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int16_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int16_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int16_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int16_t, std::nullptr_t) method

static String System::Convert::ToString(int16_t value, std::nullptr_t)

Convert::ToString(uint16_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(uint16_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint16_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint16_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint16_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint16_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint16_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint16_t, std::nullptr_t) method

static String System::Convert::ToString(uint16_t value, std::nullptr_t)

Convert::ToString(int32_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(int32_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint32_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int32_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int32_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int32_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int32_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int32_t, std::nullptr_t) method

static String System::Convert::ToString(int32_t value, std::nullptr_t)

Convert::ToString(uint32_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(uint32_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint32_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint32_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint32_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint32_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint32_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint32_t, std::nullptr_t) method

static String System::Convert::ToString(uint32_t value, std::nullptr_t)

Convert::ToString(int64_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(int64_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint64_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int64_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int64_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int64_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int64_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int64_t, std::nullptr_t) method

static String System::Convert::ToString(int64_t value, std::nullptr_t)

Convert::ToString(uint64_t, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(uint64_t value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint64_tThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint64_t, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint64_t value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint64_t, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint64_t value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint64_t, std::nullptr_t) method

static String System::Convert::ToString(uint64_t value, std::nullptr_t)

Convert::ToString(float, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(float value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valuefloatThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(float, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(float value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(float, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(float value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(float, std::nullptr_t) method

static String System::Convert::ToString(float value, std::nullptr_t)

Convert::ToString(double, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(double value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valuedoubleThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(double, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(double value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(double, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(double value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(double, std::nullptr_t) method

static String System::Convert::ToString(double value, std::nullptr_t)

Convert::ToString(const Decimal&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(const Decimal &value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueconst Decimal&The value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(const Decimal&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(const Decimal &value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(const Decimal&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(const Decimal &value, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(const Decimal&, std::nullptr_t) method

static String System::Convert::ToString(const Decimal &value, std::nullptr_t)

Convert::ToString(DateTime, const SharedPtr<IFormatProvider>&) method

Converts the specified value to string using the culture-specific format information.

static String System::Convert::ToString(DateTime value, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueDateTimeThe value to convert.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(DateTime, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(DateTime value, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(DateTime, const SharedPtr<Globalization::DateTimeFormatInfo>&) method

static String System::Convert::ToString(DateTime value, const SharedPtr<Globalization::DateTimeFormatInfo> &dtfi)

Convert::ToString(DateTime, std::nullptr_t) method

static String System::Convert::ToString(DateTime value, std::nullptr_t)

Convert::ToString(int8_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(int8_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint8_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int8_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int8_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int8_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int8_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int8_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(int8_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(uint8_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(uint8_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint8_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint8_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint8_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint8_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint8_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint8_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(uint8_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(int16_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(int16_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint16_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int16_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int16_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int16_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int16_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int16_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(int16_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(uint16_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(uint16_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint16_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint16_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint16_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint16_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint16_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint16_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(uint16_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(int32_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(int32_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint32_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int32_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int32_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int32_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int32_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int32_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(int32_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(uint32_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(uint32_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint32_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint32_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint32_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint32_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint32_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint32_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(uint32_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(int64_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(int64_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueint64_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(int64_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(int64_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(int64_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(int64_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(int64_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(int64_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(uint64_t, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(uint64_t value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueuint64_tThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(uint64_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(uint64_t value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(uint64_t, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(uint64_t value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(uint64_t, const String&, std::nullptr_t) method

static String System::Convert::ToString(uint64_t value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(float, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(float value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valuefloatThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(float, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(float value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(float, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(float value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(float, const String&, std::nullptr_t) method

static String System::Convert::ToString(float value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(double, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(double value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valuedoubleThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(double, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(double value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(double, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(double value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(double, const String&, std::nullptr_t) method

static String System::Convert::ToString(double value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(const Decimal&, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(const Decimal &value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueconst Decimal&The value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(const Decimal&, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(const Decimal &value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(const Decimal&, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(const Decimal &value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(const Decimal&, const String&, std::nullptr_t) method

static String System::Convert::ToString(const Decimal &value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(DateTime, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation using the specified string format and culture-specific format information provided by the specified IFormatProvider object.

static String System::Convert::ToString(DateTime value, const String &format, const SharedPtr<IFormatProvider> &provider)

Arguments

ParameterTypeDescription
valueDateTimeThe value to convert.
formatconst String&The string format.
providerconst SharedPtr<IFormatProvider>&The IFormatProvider object providing the culture-specific format information.

Return Value

The string representation of the specified value.

Convert::ToString(DateTime, const String&, const SharedPtr<Globalization::CultureInfo>&) method

static String System::Convert::ToString(DateTime value, const String &format, const SharedPtr<Globalization::CultureInfo> &culture)

Convert::ToString(DateTime, const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

static String System::Convert::ToString(DateTime value, const String &format, const SharedPtr<Globalization::NumberFormatInfo> &nfi)

Convert::ToString(DateTime, const String&, std::nullptr_t) method

static String System::Convert::ToString(DateTime value, const String &format, std::nullptr_t=nullptr)

Convert::ToString(const Guid&) method

Converts the specified value to string.

static String System::Convert::ToString(const Guid &value)

Arguments

ParameterTypeDescription
valueconst Guid&The value to convert

Return Value

The string representation of the specified value

Convert::ToString(const Guid&, const String&) method

Converts the specified value to string using the specified string format.

static String System::Convert::ToString(const Guid &value, const String &format)

Arguments

ParameterTypeDescription
valueconst Guid&The value to convert
formatconst String&The string format.

Return Value

The string representation of the specified value

Convert::ToString(const char_t(&), std::nullptr_t) method

Converts the specified array of unicode characters to string.

template<size_t> static String System::Convert::ToString(const char_t(&value)[N], std::nullptr_t=nullptr)

Template parameters

ParameterDescription
NThe size of the array.

Arguments

ParameterTypeDescription
valueconst char_t(&)The array to convert.

Return Value

The string representation of the specified array.

Convert::ToString(const char_t(&), const SharedPtr<IFormatProvider>&) method

Converts the specified array of unicode characters to string using the specified culture-specific format information provided by the specified IFormatProvider object.

template<size_t> static String System::Convert::ToString(const char_t(&value)[N], const SharedPtr<IFormatProvider> &)

Template parameters

ParameterDescription
NThe size of the array.

Arguments

ParameterTypeDescription
valueconst char_t(&)The array to convert.

Return Value

The string representation of the specified array.

Convert::ToString(const char_t(&), const SharedPtr<Globalization::CultureInfo>&) method

template<size_t> static String System::Convert::ToString(const char_t(&value)[N], const SharedPtr<Globalization::CultureInfo> &)

Convert::ToString(const String&, std::nullptr_t) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(const String &value, std::nullptr_t=nullptr)

Convert::ToString(const String&, const SharedPtr<IFormatProvider>&) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(const String &value, const SharedPtr<IFormatProvider> &)

Convert::ToString(const String&, const SharedPtr<Globalization::CultureInfo>&) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(const String &value, const SharedPtr<Globalization::CultureInfo> &)

Convert::ToString(const String&, const SharedPtr<Globalization::NumberFormatInfo>&) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(const String &value, const SharedPtr<Globalization::NumberFormatInfo> &)

Convert::ToString(char_t, std::nullptr_t) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(char_t value, std::nullptr_t=nullptr)

Convert::ToString(char_t, const SharedPtr<IFormatProvider>&) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(char_t value, const SharedPtr<IFormatProvider> &)

Convert::ToString(char_t, const SharedPtr<Globalization::CultureInfo>&) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(char_t value, const SharedPtr<Globalization::CultureInfo> &)

Convert::ToString(char_t, const String&, const SharedPtr<IFormatProvider>&) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(char_t value, const String &, const SharedPtr<IFormatProvider> &)

Convert::ToString(char_t, const String&, const SharedPtr<Globalization::CultureInfo>&) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(char_t value, const String &, const SharedPtr<Globalization::CultureInfo> &)

Convert::ToString(char_t, const String&, std::nullptr_t) method

Returns the specified value; no conversion is performed.

static String System::Convert::ToString(char_t value, const String &, std::nullptr_t)

Convert::ToString(bool, std::nullptr_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(bool value, std::nullptr_t=nullptr)

Arguments

ParameterTypeDescription
valueboolThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(bool, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation.

static String System::Convert::ToString(bool value, const SharedPtr<IFormatProvider> &)

Arguments

ParameterTypeDescription
valueboolThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(bool, const SharedPtr<Globalization::CultureInfo>&) method

Converts the specified value to its string representation.

static String System::Convert::ToString(bool value, const SharedPtr<Globalization::CultureInfo> &)

Arguments

ParameterTypeDescription
valueboolThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(bool, const SharedPtr<Globalization::NumberFormatInfo>&) method

Converts the specified value to its string representation.

static String System::Convert::ToString(bool value, const SharedPtr<Globalization::NumberFormatInfo> &)

Arguments

ParameterTypeDescription
valueboolThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(bool, const String&, const SharedPtr<IFormatProvider>&) method

Converts the specified value to its string representation.

static String System::Convert::ToString(bool value, const String &, const SharedPtr<IFormatProvider> &)

Arguments

ParameterTypeDescription
valueboolThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(bool, const String&, const SharedPtr<Globalization::CultureInfo>&) method

Converts the specified value to its string representation.

static String System::Convert::ToString(bool value, const String &, const SharedPtr<Globalization::CultureInfo> &)

Arguments

ParameterTypeDescription
valueboolThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(bool, const String&, std::nullptr_t) method

Converts the specified value to its string representation.

static String System::Convert::ToString(bool value, const String &, std::nullptr_t)

Arguments

ParameterTypeDescription
valueboolThe value to convert.

Return Value

The string representation of the specified value

Convert::ToString(int8_t, int) method

Converts the specified integer value to its string representation in the specified base.

static String System::Convert::ToString(int8_t value, int to_base)

Arguments

ParameterTypeDescription
valueint8_tThe value to convert
to_baseintThe base in which the specified value is to be represented

Return Value

The string representation of the specified value in the specified base

Convert::ToString(int16_t, int) method

Converts the specified integer value to its string representation in the specified base.

static String System::Convert::ToString(int16_t value, int to_base)

Arguments

ParameterTypeDescription
valueint16_tThe value to convert
to_baseintThe base in which the specified value is to be represented

Return Value

The string representation of the specified value in the specified base

Convert::ToString(int32_t, int) method

Converts the specified integer value to its string representation in the specified base.

static String System::Convert::ToString(int32_t value, int to_base)

Arguments

ParameterTypeDescription
valueint32_tThe value to convert
to_baseintThe base in which the specified value is to be represented

Return Value

The string representation of the specified value in the specified base

Convert::ToString(int64_t, int) method

Converts the specified integer value to its string representation in the specified base.

static String System::Convert::ToString(int64_t value, int to_base)

Arguments

ParameterTypeDescription
valueint64_tThe value to convert
to_baseintThe base in which the specified value is to be represented

Return Value

The string representation of the specified value in the specified base

Convert::ToString(uint8_t, int) method

static String System::Convert::ToString(uint8_t value, int to_base)

Convert::ToString(uint16_t, int) method

static String System::Convert::ToString(uint16_t value, int to_base)

Convert::ToString(uint32_t, int) method

static String System::Convert::ToString(uint32_t value, int to_base)

Convert::ToString(const SharedPtr<Object>&, const SharedPtr<IFormatProvider>&) method

Converts the specified boxed value to its string representation. If the type of boxed value is String, the specified string format is used during conversion.

static String System::Convert::ToString(const SharedPtr<Object> &obj, const SharedPtr<IFormatProvider> &provider=nullptr)

Arguments

ParameterTypeDescription
objconst SharedPtr<Object>&The shared pointer to the object boxing the value to convert
providerconst SharedPtr<IFormatProvider>&The string format to be used if the type of the boxed value is String

Return Value

A string representing the specified boxed value

See Also