Convert.ToChar Method (UInt32)
.NET Framework 1.1
Converts the value of the specified 32-bit unsigned integer to its equivalent Unicode character.
This method is not CLS-compliant. For more information about CLS compliance, see What is the Common Language Specification.
[Visual Basic] <CLSCompliant(False)> Overloads Public Shared Function ToChar( _ ByVal value As UInt32 _ ) As Char [C#] [CLSCompliant(false)] public static char ToChar( uint value ); [C++] [CLSCompliant(false)] public: static __wchar_t ToChar( unsigned int value ); [JScript] public CLSCompliant(false) static function ToChar( value : UInt32 ) : Char;
Parameters
- value
- A 32-bit unsigned integer.
Return Value
The Unicode character equivalent to the value of value.
Exceptions
| Exception Type | Condition |
|---|---|
| OverflowException | value is greater than Char.MaxValue. |
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework, Common Language Infrastructure (CLI) Standard
See Also
Convert Class | Convert Members | System Namespace | Convert.ToChar Overload List