通过


BaseValidator.IsValid 属性

定义

获取或设置一个值,该值指示控件验证的数据是否有效。 默认值为 true。 此 API 已过时。 有关如何开发 ASP.NET 移动应用程序的信息,请参阅 Mobile Apps &具有 ASP.NET 的网站。

public:
 property bool IsValid { bool get(); void set(bool value); };
[System.ComponentModel.Browsable(false)]
public bool IsValid { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.IsValid : bool with get, set
Public Property IsValid As Boolean

属性值

true 如果控件验证的数据有效,则为否则,为 false.

实现

属性

适用于

另请参阅