UInt32.MinValue 필드

정의

가능한 가장 작은 값을 UInt32나타냅니다. 이 필드는 상수입니다.

public: System::UInt32 MinValue = 0;
public const uint MinValue = 0;
val mutable MinValue : uint32
Public Const MinValue As UInteger  = 0

필드 값

Value = 0

예제

다음 예제에서는 필드를 사용하여 MinValue 변수의 UInt32 가능한 가장 작은 값을 표시하는 방법을 보여 줍니다.

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;
        }
    }
}
type Temperature() =
    // The value holder
    let mutable m_value = 0u

    static member MinValue =
        UInt32.MinValue

    static member MaxValue =
        UInt32.MaxValue

    member _.Value
        with get () =
            m_value
        and set (v) =
            m_value <- v
Public Class Temperature 
     ' The value holder
     Protected m_value As UInteger

     Public Shared ReadOnly Property MinValue As UInteger
         Get 
             Return UInt32.MinValue
         End Get
     End Property

     Public Shared ReadOnly Property MaxValue As UInteger
         Get 
             Return UInt32.MaxValue
         End Get
     End Property

     Public Property Value As UInteger
         Get 
             Return Me.m_value
         End Get
         Set 
             Me.m_value = value
         End Set
     End Property
End Class

설명

이 상수의 값은 0입니다.

적용 대상

추가 정보