Retrieves a value indicating whether the specified control is a child of the control.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Function Contains( _
ByVal ctl As System.Windows.Forms.Control _
) As System.Boolean |
| C# | |
|---|
public System.bool Contains(
System.Windows.Forms.Control ctl
) |
Parameters
- ctl
- The System.Windows.Forms.Control to evaluate.
Return Value
true if the specified control is a child of the control; otherwise, 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