OLEUPDATE enumeration (oleidl.h)

Indicates 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.

Syntax

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

Constants

 
OLEUPDATE_ALWAYS
Value: 1
Update the link object whenever possible, this option corresponds to the Automatic update option in the Links dialog box.
OLEUPDATE_ONCALL
Value: 3
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.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header oleidl.h

See also

IOleLink::GetUpdateOptions

IOleLink::SetUpdateOptions