This documentation is archived and is not being maintained.
BaseValidator.GetValidationProperty Method
.NET Framework 1.1
Helper function to get the validation property of a control (if it exists).
[Visual Basic] 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;
Parameters
- component
- An System.Object that represents the control to get the validation property of.
Return Value
A System.ComponentModel.PropertyDescriptor that contains the validation property of the control.
Remarks
The GetValidationProperty method is a helper function that gets the validation property of the specified input control.
Note This method is primarily used by control developers.
Requirements
Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family
See Also
BaseValidator Class | BaseValidator Members | System.Web.UI.WebControls Namespace | System.ComponentModel.PropertyDescriptor
Show: