IASForm::ItemFromID

This method gets a pointer to a specified control based on its identifier.

Syntax

HRESULT ItemFromID( short ID, IDispatch **ppdispControl );

Parameters

ID
Identifier of the control.
ppdisp
Pointer to the pointer to the control.

Return Values

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

See Also

IASForm::Item, IASControl::get_ID