CompareValidator.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

傳回

true若要驗證的控制屬性有效;否則,。 false

例外狀況

ControlToValidate 處房產是空的。

-或-

沒有比較的對照系統。

-或-

驗證控制組與比較控制組是同一個控制組。

-或-

這兩個控制組的數值無法比較。

適用於

另請參閱