IASForm::Item

This method gets a pointer to a control on a form.

Syntax

HRESULT Item( VARIANT index, IDispatch **ppdispControl );

Parameters

index
Index of the control to be retrieved.
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::ItemFromID