Freigeben über


UInt32.MinValue-Feld

Stellt den kleinstmöglichen Wert von UInt32 dar. Dieses Feld ist konstant.

Dieses Feld ist nicht CLS-kompatibel.  

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public Const MinValue As UInteger
'Usage
Dim value As UInteger

value = UInteger.MinValue
public const uint MinValue
public:
literal unsigned int MinValue
public static final UInt32 MinValue
public const var MinValue : uint

Hinweise

Der Wert dieser Konstanten ist 0 (null).

Beispiel

public class Temperature {
    public static uint MinValue {
        get {
            return UInt32.MinValue;
        }
    }

    public static uint MaxValue {
        get {
            return UInt32.MaxValue;
        }
    }

    // The value holder
    protected uint m_value;

    public uint Value {
        get {
            return m_value;
        }
        set {
            m_value = value;
        }
    }
}
   public ref class Temperature
   {
   public:
      static property UInt32 MinValue 
      {
         UInt32 get()
         {
            return UInt32::MinValue;
         }
      }

      static property UInt32 MaxValue 
      {
         UInt32 get()
         {
            return UInt32::MaxValue;
         }
      }

   protected:
      // The value holder
      UInt32 m_value;

   public:
      property UInt32 Value 
      {
         UInt32 get()
         {
            return m_value;
         }
         void set( UInt32 value )
         {
            m_value = value;
         }
      }
   };
}
public class Temperature
{
    /** @property 
     */
    public static int get_MinValue()      
    {
        return System.Convert.ToInt32(UInt32.MinValue);
    } //get_MinValue

    /** @property 
     */
    public static int get_MaxValue()        
    {
        return System.Convert.ToInt32(UInt32.MaxValue);
    } //get_MaxValue

    // The value holder
    protected int mValue;
   
    /** @property 
     */
    public int get_Value()        
    {
        return mValue;
    } //get_Value

    /** @property 
     */
    public void set_Value(int value)        
    {
        mValue = value;
    } //set_Value
} //Temperature
public class Temperature {
    public static function get MinValue() : uint {
        return UInt32.MinValue;
    }

    public static function get MaxValue() : uint {
        return UInt32.MaxValue;
    }

    // The value holder
    protected var m_value : uint ;

    public function get Value() : uint {
        return m_value;
            }
            
            public function set Value(value : uint) {                        
        m_value = value;
    }

}

Plattformen

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

.NET Compact Framework

Unterstützt in: 2.0, 1.0

Siehe auch

Referenz

UInt32-Struktur
UInt32-Member
System-Namespace
MaxValue