IOleUILinkInfo

The IOleUILinkInfo interface is an extension of the IOleUILinkContainer interface. It returns the time that an object was last updated, which is link information that IOleUILinkContainer does not provide.

When To Implement

You must implement this interface so your container can support the “Link” page of the Object Properties dialog box. If you are writing a container that does not implement links, you do not need to implement this interface.

Methods in Vtable Order

IUnknown Methods

Description

QueryInterface

Returns a pointer to a specified interface.

AddRef

Increments the reference count.

Release

Decrements the reference count.

IOleUILinkContainer Methods

Description

GetNextLink

Enumerates the links in the container.

SetLinkUpdateOptions

Sets update options.

GetLinkUpdateOptions

Determines current update options for the link.

SetLinkSource

Changes the source of the link.

GetLinkSource

Returns Links dialog box information about link.

OpenLinkSource

Opens a link’s source.

UpdateLink

Forces a link to connect to its source and update.

CancelLink

Breaks the link.

IOleUILinkInfo Methods

Description

GetLastUpdate

Determines the last time the object was updated, whether automatically or manually.