Windows Dev Center

OLEUPDATE enumeration

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, *LPOLEUPDATE, *POLEUPDATE;

Constants

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.

Requirements

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft