Share via


FormBuildControl.controlCount Method

Definition

Retrieves the number of controls that are contained in the control.

public:
 virtual int controlCount();
public virtual int controlCount ();
abstract member controlCount : unit -> int
override this.controlCount : unit -> int
Public Overridable Function controlCount () As Integer

Returns

An integer value that indicates the number of controls that are contained in the control if it is a container control; otherwise, 0.

Applies to