Udostępnij za pośrednictwem


Convert.ToChar 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 a specified value to a Unicode character.

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 ToChar(Byte) Converts the value of the specified 8-bit unsigned integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Char) Returns the specified Unicode character value; no actual conversion is performed.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Decimal) Calling this method always throws InvalidCastException.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Double) Calling this method always throws InvalidCastException.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Int16) Converts the value of the specified 16-bit signed integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Int32) Converts the value of the specified 32-bit signed integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Int64) Converts the value of the specified 64-bit signed integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Object) Converts the value of the specified Object to a Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(SByte) Converts the value of the specified 8-bit signed integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Single) Calling this method always throws InvalidCastException.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(String) Converts the first character of a String to a Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(UInt16) Converts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(UInt32) Converts the value of the specified 32-bit unsigned integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(UInt64) Converts the value of the specified 64-bit unsigned integer to its equivalent Unicode character.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(Object, IFormatProvider) Converts the value of the specified Object to its equivalent Unicode character using the specified culture-specific formatting information.
Public methodStatic memberSupported by Silverlight for Windows PhoneSupported by Xbox 360 ToChar(String, IFormatProvider) Converts the first character of a String to a Unicode character using specified culture-specific formatting information.

Top

See Also

Reference