NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.Contains

Checks if a control is a child of this control.

[Visual Basic]
Public Function Contains( _
   ByVal ctl As Control _
) As Boolean
[C#]
public bool Contains(
   Control ctl
);
[C++]
public: bool Contains(
   Control* ctl
);
[JScript]
public function Contains(
   ctl : Control
) : Boolean;

Parameters

ctl
the control to check

Return Value

whether ctl is a child of this control.

See Also

Control Class | Control Members | System.WinForms Namespace