ActionsPane.Contains Method
Returns a value that indicates whether the specified control is a child of the actions pane.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
Function Contains ( _
ctl As Control _
) As Boolean
bool Contains(
Control ctl
)
Parameters
ctl
Type: System.Windows.Forms.ControlThe Control to evaluate.
Return Value
Type: System.Boolean
Returns Boolean.
Remarks
This method provides the same functionality as the Control.Contains method. For more information about using this method, see Control.Contains.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Office.Tools Namespace