Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts the value of the specified 16-bit unsigned integer to its equivalent Unicode character.
This API is not CLS-compliant.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function ToChar ( _
value As UShort _
) As Char
[CLSCompliantAttribute(false)]
public static char ToChar(
ushort value
)
[CLSCompliantAttribute(false)]
public:
static wchar_t ToChar(
unsigned short value
)
[<CLSCompliantAttribute(false)>]
static member ToChar :
value:uint16 -> char
public static function ToChar(
value : ushort
) : char
Parameters
- value
Type: System. . :: . .UInt16
The 16-bit unsigned integer to convert.
Return Value
Type: System. . :: . .Char
A Unicode character that is equivalent to value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.