Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Convert.ToChar Method

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.

  Name Description
Public method Static member ToChar(Boolean) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Byte) Converts the value of the specified 8-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(Char) Returns the specified Unicode character value; no actual conversion is performed.
Public method Static member ToChar(DateTime) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Decimal) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Double) Calling this method always throws InvalidCastException.
Public method Static member ToChar(Int16) Converts the value of the specified 16-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Int32) Converts the value of the specified 32-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Int64) Converts the value of the specified 64-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Object) Converts the value of the specified object to a Unicode character.
Public method Static member ToChar(SByte) Converts the value of the specified 8-bit signed integer to its equivalent Unicode character.
Public method Static member ToChar(Single) Calling this method always throws InvalidCastException.
Public method Static member ToChar(String) Converts the first character of a specified string to a Unicode character.
Public method Static member ToChar(UInt16) Converts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(UInt32) Converts the value of the specified 32-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(UInt64) Converts the value of the specified 64-bit unsigned integer to its equivalent Unicode character.
Public method Static member ToChar(Object, IFormatProvider) Converts the value of the specified object to its equivalent Unicode character, using the specified culture-specific formatting information.
Public method Static member ToChar(String, IFormatProvider) Converts the first character of a specified string to a Unicode character, using specified culture-specific formatting information.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.