This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for

This method updates the compound document's cached data for a linked object. This involves binding to the link source, if it is not already bound.





[in] Pointer to the IBindCtxinterface on the bind context to be used in binding the link source.

This parameter can be NULL.

The bind context caches objects bound during the binding process, contains parameters that apply to all operations using the bind context, and provides the means by which the binding implementation should retrieve information about its environment.

For more information, see IBindCtx.

Return Value

The following table shows the return values for this method.

Value Description


All caches were updated successfully.


The bind operation worked but no caches were updated.


The bind operation worked but not all caches were updated.


Unable to bind to the link source.


If pbcis non-NULL, the linked object's implementation of IOleLink::Updatecalls the IBindCtx::RegisterObjectBoundmethod to register the bound link source. This ensures that the link source remains running until the bind context is released.

The current caches are left intact if the link source cannot be bound.

Notes to Callers

Your container application should call IOleLink::Updateif the user updates the cached data for a linked object.

The user can update the cached data for a linked object by choosing the Update Nowbutton in the Linksdialog box.

Your container application can also call the IOleObject::Updatemethod to update a linked object because that method — when called on a linked object — calls IOleLink::Update.

This method updates both automatic links and manual links. For manual links, calling IOleLink::Updateor IOleObject::Updateis the only way to update the caches. For more information about automatic and manual links, see IOleLink::SetUpdateOptions.

To determine whether the platform supports this interface, see Determining Supported COM APIs.


Header Oleidl.h, oleidl.idl
Library ole32.lib, uuid.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also