ValidationPropertyAttribute Constructor (String)
.NET Framework (current version)
Initializes a new instance of the ValidationPropertyAttribute class.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System.String
The name of the validation property.
The following code example demonstrates using the ValidationPropertyAttribute class when creating a custom control.
.NET Framework
Available since 1.1
Available since 1.1
Show: