ContainerControl.Validate Method ()
Assembly: System.Windows.Forms (in system.windows.forms.dll)
'Declaration Public Function Validate As Boolean 'Usage Dim instance As ContainerControl Dim returnValue As Boolean returnValue = instance.Validate
Return Valuetrue if validation is successful; otherwise, false.
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 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.