ActionsPane.ValidateChildren 方法

使支持验证的所有子控件都对其数据进行验证。

命名空间:  Microsoft.Office.Tools
程序集:  Microsoft.Office.Tools.Common(在 Microsoft.Office.Tools.Common.dll 中)

语法

声明
<BrowsableAttribute(True)> _
Function ValidateChildren As Boolean
[BrowsableAttribute(true)]
bool ValidateChildren()

返回值

类型:System.Boolean
如果成功验证所有子级,则为 true;否则为 false。如果是从 ValidatingValidated 事件处理程序调用的,则该方法将始终返回 false。

备注

此方法提供与 ContainerControl.ValidateChildren() 方法相同的功能。有关使用此方法的更多信息,请参见ContainerControl.ValidateChildren()

.NET Framework 安全性

请参见

参考

ActionsPane 接口

ValidateChildren 重载

Microsoft.Office.Tools 命名空间

其他资源

操作窗格概述