IOleLink interface (oleidl.h)
Enables a linked object to provide its container with functions pertaining to linking. The most important of these functions is binding to the link source, that is, activating the connection to the document that stores the linked object's native data. IOleLink also defines functions for managing information about the linked object, such as the location of the link source and the cached presentation data for the linked object.
A container application can distinguish between embedded objects and linked objects by querying for IOleLink; only linked objects implement IOleLink.
The IOleLink interface inherits from the IUnknown interface. IOleLink also has these types of members:
The IOleLink interface has these methods.
Activates the connection between the linked object and the link source if the link source is already running.
Activates the connection to the link source by binding the moniker stored within the linked object.
Retrieves a pointer to the link source if the connection is active.
Retrieves the display name of the link source of the linked object.
Retrieves the moniker identifying the link source of a linked object.
Retrieves a value indicating how often the linked object updates its cached data.
Sets the display name for the link source.
Sets the moniker for the link source.
Specifies how often a linked object should update its cached data.
Breaks the connection between a linked object and its link source.
Updates the compound document's cached data for a linked object. This involves binding to the link source, if it is not already bound.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|