RangeValidator.ControlPropertiesValid 方法

定義

判斷待驗證的屬性是否有效。 這個 API 已經過時了。 有關如何開發 ASP.NET 行動應用程式的資訊,請參閱 Mobile Apps &ASP.NET 的網站。

protected:
 override bool ControlPropertiesValid();
protected override bool ControlPropertiesValid();
override this.ControlPropertiesValid : unit -> bool
Protected Overrides Function ControlPropertiesValid () As Boolean

傳回

trueMinimumValueMaximumValue 屬性具有有效值;否則 false

例外狀況

或 屬性的MinimumValueMaximumValue類型都是無效的,

-或-

MinimumValue 大於 MaximumValue

適用於

另請參閱