System.Number.FormatUInt32 C# (CSharp) Method

FormatUInt32() private method

private FormatUInt32 ( uint value, String format, NumberFormatInfo info ) : String
value uint
format String
info System.Globalization.NumberFormatInfo
return String
        public static extern String FormatUInt32(uint value, String format, NumberFormatInfo info);
        [MethodImplAttribute(MethodImplOptions.InternalCall)]

Usage Example

示例#1
0
        public String ToString(String format, IFormatProvider provider)
        {
            if (m_value < 0 && format != null && format.Length > 0 && (format[0] == 'X' || format[0] == 'x'))
            {
                uint temp = (uint)(m_value & 0x0000FFFF);
                return(Number.FormatUInt32(temp, format, provider));
            }

            return(Number.FormatInt32(m_value, format, provider));
        }
All Usage Examples Of System.Number::FormatUInt32