Bagikan melalui


COlePropertyPage::GetObjectArray

Returns the array of objects being edited by the property page.

LPDISPATCH* GetObjectArray(
   ULONG* pnObjects 
);

Parameters

  • pnObjects
    Pointer to an unsigned long integer that will receive the number of objects being edited by the page.

Return Value

Pointer to an array of IDispatch pointers, which are used to access the properties of each control on the property page. The caller must not release these interface pointers.

Remarks

Each property page object maintains an array of pointers to the IDispatch interfaces of the objects being edited by the page. This function sets its pnObjects argument to the number of elements in that array and returns a pointer to the first element of the array.

Requirements

Header: afxctl.h

See Also

Reference

COlePropertyPage Class

Hierarchy Chart

Other Resources

COlePropertyPage Members