Share via


IRangeValueProvider.Minimum 屬性

定義

取得控制項支援的最小範圍值。

public:
 property double Minimum { double get(); };
public double Minimum { get; }
member this.Minimum : double
Public ReadOnly Property Minimum As Double

屬性值

Double

控制項所支援的最小值,如果控制項不支援 Minimum ,則為 Visual Basic) 中的 null (Nothing

範例

下列範例顯示這個方法的實作,適用于最小值為 0.0 的控制項。

/// <summary>
/// Specifies the minimum value of the range.
/// </summary>
public double Minimum
{
    get 
    { 
        return 0.0;
    }
}
''' <summary>
''' Specifies the minimum value of the range.
''' </summary>
Public ReadOnly Property Minimum() As Double Implements IRangeValueProvider.Minimum
    Get
        Return 0.0
    End Get
End Property

適用於

另請參閱