'Declaration Public Overloads Function Validate( _ ByVal checkAutoValidate As Boolean _ ) As Boolean
public bool Validate( bool checkAutoValidate )
Parameters
- checkAutoValidate
- If true, the value of the System.Windows.Forms.ContainerControl.AutoValidate property is used to determine if validation should be performed; if false, validation is unconditionally performed.
Return Value
true if validation is successful; otherwise, false. If called from the System.Windows.Forms.Control.Validating or System.Windows.Forms.Control.Validated event handlers, this method will always return false.