|
이 문서는 기계로 번역한 것입니다. 원본 텍스트를 보려면 포인터를 문서의 문장 위로 올리십시오. 추가 정보
|
번역
원본
|
Convert.ToChar 메서드 (UInt32)
.NET Framework 4.5
이 API는 CLS 규격이 아닙니다. 네임스페이스: System
어셈블리: mscorlib(mscorlib.dll)
매개 변수
- value
- 형식: System.UInt32
변환할 32비트 부호 없는 정수입니다.
| 예외 | 조건 |
|---|---|
| OverflowException |
uint[] numbers = { UInt32.MinValue, 40, 160, 255, 1028, 2011, 30001, 207154, Int32.MaxValue }; char result; foreach (uint number in numbers) { try { result = Convert.ToChar(number); Console.WriteLine("{0} converts to '{1}'.", number, result); } catch (OverflowException) { Console.WriteLine("{0} is outside the range of the Char data type.", number); } } // The example displays the following output: // 0 converts to ' '. // 40 converts to '('. // 160 converts to ' '. // 255 converts to 'ÿ'. // 1028 converts to '?'. // 2011 converts to '?'. // 30001 converts to '?'. // 207154 is outside the range of the Char data type. // 2147483647 is outside the range of the Char data type.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008(서버 코어 역할은 지원되지 않음), Windows Server 2008 R2(서버 코어 역할은 SP1 이상에서 지원, Itanium은 지원되지 않음)
.NET Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.