BaseValidator.GetValidationProperty(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines the validation property of a control (if it exists).
public:
static System::ComponentModel::PropertyDescriptor ^ GetValidationProperty(System::Object ^ component);
public static System.ComponentModel.PropertyDescriptor GetValidationProperty (object component);
static member GetValidationProperty : obj -> System.ComponentModel.PropertyDescriptor
Public Shared Function GetValidationProperty (component As Object) As PropertyDescriptor
Parameters
Returns
A 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 used primarily by control developers.
Applies to
See also
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.