# OLEUPDATE

The OLEUPDATE enumeration constants are used to indicate whether the linked object updates the cached data for the linked object automatically or only when the container calls either the IOleObject::Update or IOleLink::Update methods. The constants are used in the IOleLink interface.

    typedef enum tagOLEUPDATE
    {
        OLEUPDATE_ALWAYS    = 1;
        OLEUPDATE_ONCALL    = 3
    } OLEUPDATE;
    typedef OLEUPDATE *LPOLEUPDATE;

Elements

OLEUPDATE_ALWAYS
  Update the link object whenever possible, this option corresponds to the Automatic update option in the Links dialog box.
OLEUPDATE_ONCALL
  Update the link object only when IOleObject::Update or IOleLink::Update is called, this option corresponds to the Manual update option in the Links dialog box.

See Also

IOleLink::SetUpdateOptions, IOleLink::GetUpdateOptions