Control.getControlCount

Overview | Methods | Fields | This Package | All Packages

Control.getControlCount

Retrieves the number of child controls this control contains.

Syntax

public int getControlCount()

Return Value

Returns an integer that represents the number of of child controls this control contains.

Remarks

Because the indices for child controls within the parent control array are zero-based, the index numbers for the child controls start at zero (0) and end at controlCount - 1.