TextBox.Numeric 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定一個值,表示輸入是否必須完全數值。 預設值為 false。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱
public:
property bool Numeric { bool get(); void set(bool value); };
[System.ComponentModel.Bindable(true)]
[System.ComponentModel.Browsable(true)]
public bool Numeric { get; set; }
[<System.ComponentModel.Bindable(true)>]
[<System.ComponentModel.Browsable(true)>]
member this.Numeric : bool with get, set
Public Property Numeric As Boolean
屬性值
true如果輸入必須是完全數值的;否則,。 false
- 屬性
備註
並非所有標記語言都支援完全數值的使用者輸入。 例如,HTML 不支援此屬性。