BaseValidator.CheckControlValidationProperty(String, String) 方法

定义

确定要验证的指定控件是否具有可以验证的属性。Determines whether the specified control to be validated has a property that can be validated. 此 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.

protected:
 void CheckControlValidationProperty(System::String ^ name, System::String ^ propertyName);
protected void CheckControlValidationProperty (string name, string propertyName);
member this.CheckControlValidationProperty : string * string -> unit
Protected Sub CheckControlValidationProperty (name As String, propertyName As String)

参数

name
String

具有要进行验证的属性的控件的名称。The name of the control that has a property to be validated.

propertyName
String

要进行验证的属性的名称。The name of the property that is to be validated.

例外

namepropertyName 参数为 nulleither the name or propertyName parameters is null.

适用于

另请参阅