Verifies the value of the control losing focus by causing the Validating and Validated events to occur, in that order.
Public Function Validate As Boolean
Dim instance As ContainerControl Dim returnValue As Boolean returnValue = instance.Validate()
public bool Validate()
public: bool Validate()
public function Validate() : boolean
The Validate method validates the last child control that is not validated and its ancestors up through, but not including, the current container control. This overloaded version always performs validation, regardless of the value of the AutoValidate property of the control's parent. Therefore use it to unconditionally force validation.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98