asp.net.ph

BaseValidator.GetValidationProperty Method

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;

Parameters

component
A System.Object that contains the control to get the validation properties 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.

This method is primarily used by control developers.

See Also

BaseValidator Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph