共用方式為


Convert.ToString Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

Converts the specified value to its equivalent String representation.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Boolean) Converts the value of the specified Boolean to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Byte) Converts the value of the specified 8-bit unsigned integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Char) Converts the value of the specified Unicode character to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(DateTime) Converts the value of the specified DateTime to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Decimal) Converts the value of the specified Decimal number to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Double) Converts the value of the specified double-precision floating point number to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int16) Converts the value of the specified 16-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int32) Converts the value of the specified 32-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int64) Converts the value of the specified 64-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Object) Converts the value of the specified Object to its String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(SByte) Converts the value of the specified 8-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Single) Converts the value of the specified single-precision floating point number to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(UInt16) Converts the value of the specified 16-bit unsigned integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(UInt32) Converts the value of the specified 32-bit unsigned integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(UInt64) Converts the value of the specified 64-bit unsigned integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Boolean, IFormatProvider) Converts the value of the specified Boolean to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Byte, IFormatProvider) Converts the value of the specified 8-bit unsigned integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Byte, Int32) Converts the value of an 8-bit unsigned integer to its equivalent string representation in a specified base.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Char, IFormatProvider) Converts the value of the specified Unicode character to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(DateTime, IFormatProvider) Converts the value of the specified DateTime to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Decimal, IFormatProvider) Converts the value of the specified Decimal number to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Double, IFormatProvider) Converts the value of the specified double-precision floating point number to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int16, IFormatProvider) Converts the value of the specified 16-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int16, Int32) Converts the value of a 16-bit signed integer to its equivalent String representation in a specified base.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int32, IFormatProvider) Converts the value of the specified 32-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int32, Int32) Converts the value of a 32-bit signed integer to its equivalent String representation in a specified base.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int64, IFormatProvider) Converts the value of the specified 64-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Int64, Int32) Converts the value of a 64-bit signed integer to its equivalent String representation in a specified base.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Object, IFormatProvider) Converts the value of the specified Object to its equivalent String representation using the specified culture-specific formatting information.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(SByte, IFormatProvider) Converts the value of the specified 8-bit signed integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(Single, IFormatProvider) Converts the value of the specified single-precision floating point number to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(UInt16, IFormatProvider) Converts the value of the specified 16-bit unsigned integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(UInt32, IFormatProvider) Converts the value of the specified 32-bit unsigned integer to its equivalent String representation.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToString(UInt64, IFormatProvider) Converts the value of the specified 64-bit unsigned integer to its equivalent String representation.

Top

See Also

Reference