Share via


FormBuildControl.controlNum(Int32) Method

Definition

Retrieves a contained control by using the specified index.

public:
 virtual Dynamics::AX::Application::FormBuildControl ^ controlNum(int _controlNo);
public virtual Dynamics.AX.Application.FormBuildControl controlNum (int _controlNo);
abstract member controlNum : int -> Dynamics.AX.Application.FormBuildControl
override this.controlNum : int -> Dynamics.AX.Application.FormBuildControl
Public Overridable Function controlNum (_controlNo As Integer) As FormBuildControl

Parameters

_controlNo
Int32

An integer value that indicates the index of the child control to retrieve.

Returns

A FormBuildControl object that represents the child control that has the specified index if this is a container control; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).

Remarks

If the specified controlNo parameter is out of range, an exception is raised.

Applies to