System.Web.UI.WebControls Namespace BaseValidator Class
Helper function to get the validation property of a control if it exists.
[ VB ]
Public Shared Function GetValidationProperty ( _
ByVal component As Object _
) As PropertyDescriptor
[ C# ]
public static PropertyDescriptor GetValidationProperty (
object component
);
[ C++ ]
public: static PropertyDescriptor* GetValidationProperty (
Object* component
);
[ JScript ]
public static function GetValidationProperty (
component : Object
) : PropertyDescriptor;
- component
- A System.Object that contains the control to get the validation properties of.
A 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.
This method is primarily used by control developers.
BaseValidator Members