IASActiveForms::Item

This method retrieves a pointer to an active form specified by its index.

Syntax

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

Parameters

index
Index of the form.
ppdispForm
Pointer to the pointer to the form.

Return Values

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

Remarks

The index is not fixed, and can change as forms are added or removed. The identifier does not change.