Export (0) Print
Expand All
Expand Minimize

COleClientItem::UpdateLink

Call this function to update the presentation data of the OLE item immediately.

BOOL UpdateLink( );

Nonzero on success; otherwise 0.

For linked items, the function finds the link source to obtain a new presentation for the OLE item. This process may involve running one or more server applications, which could be time-consuming. For embedded items, the function operates recursively, checking whether the embedded item contains links that might be out of date and updating them. The user can also manually update individual links using the Links dialog box.

For more information, see IOleLink::Update in the Windows SDK.

Header: afxole.h

Show:
© 2014 Microsoft