BaseValidator.IsValid 属性

定义

获取或设置一个值,该值指示控件验证的数据是否有效。Gets or sets a value indicating whether the data validated by the control is valid. 默认值为 trueThe default value is true. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。For information about how to develop ASP.NET mobile applications, see Mobile Apps & Sites with ASP.NET.

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

属性值

如果由控件验证的数据有效,则为 true;否则为 falsetrue if the data validated by the control is valid; otherwise, false.

实现

属性

适用于

另请参阅