BitMiracle.LibTiff.Classic.FieldValue.ToUInt C# (CSharp) Method

ToUInt() private method

private ToUInt ( ) : uint
return uint
        public uint ToUInt()
        {
            switch (Type.GetTypeCode(m_value.GetType()))
            {
                case TypeCode.UInt32:
                    return (uint)m_value;

                case TypeCode.Int32:
                    return (uint)((int)m_value);
            }

            return Convert.ToUInt32(m_value);
        }