System.Runtime.Serialization.XmlReaderDelegator.XmlReaderDelegator.ToUInt16 C# (CSharp) 메소드

ToUInt16() 개인적인 메소드

private ToUInt16 ( int value ) : UInt16
value int
리턴 UInt16
        private UInt16 ToUInt16(int value)
        {
            if (value < UInt16.MinValue || value > UInt16.MaxValue)
            {
                ThrowConversionException(value.ToString(NumberFormatInfo.CurrentInfo), "UInt16");
            }
            return (UInt16)value;
        }
XmlReaderDelegator.XmlReaderDelegator