BaseValidator.GetValidationProperty Method (Object)
.NET Framework (current version)
Determines the validation property of a control (if it exists).
Assembly: System.Web (in System.Web.dll)
Public Shared Function GetValidationProperty ( component As Object ) As PropertyDescriptor
Parameters
- component
-
Type:
System.Object
A System.Object that represents the control to get the validation property of.
Return Value
Type: System.ComponentModel.PropertyDescriptorA System.ComponentModel.PropertyDescriptor that contains the validation property of the control.
The GetValidationProperty method is a helper function that gets the validation property of the specified input control.
Note |
|---|
This method is used primarily by control developers. |
.NET Framework
Available since 1.1
Available since 1.1
Show:
