Syntax
| Visual Basic (Declaration) | |
|---|
Public Overloads Function ValidateChildren( _
ByVal validationConstraints As System.Windows.Forms.ValidationConstraints _
) As System.Boolean |
| C# | |
|---|
public System.bool ValidateChildren(
System.Windows.Forms.ValidationConstraints validationConstraints
) |
Parameters
- validationConstraints
- Places restrictions on which controls have their System.Windows.Forms.Control.Validating event raised.
Return Value
true if all of the children validated successfully; 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.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also