IASForm::RemoveByID

The IASForm::RemoveByID method removes a control with a specified identifier from a form.

Syntax

HRESULT RemoveByID( short ID );

Parameters

ID
Identifier of a control.

Return Values

NOERROR indicates success. If an error occurs, the appropriate HRESULT value is returned.

Remarks

IASForm::RemoveByID calls IASControl::Close for the control to be removed.

See Also

IASControl::get_ID