Microsoft SDK for Java

Control.contains

Retrieves a value indicating whether the specified control is a child of this control.

Syntax

public final boolean contains( Control ctl )

Parameters

ctl

A Control object that represents the control to check.

Return Value

Returns true if the specified control is a child of this control; otherwise, returns false.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.