COleServerItem::IsLinkedItem

BOOL IsLinkedItem( ) const;

Return Value

Nonzero if the item is a linked item; otherwise 0.

Remarks

Call this function to see if the OLE item is a linked item. An item is linked if the item is valid and is not returned in the document’s list of embedded items. A linked item might or might not be connected to a container.

It is common to use the same class for both linked and embedded items. IsLinkedItem allows you to make linked items behave differently than embedded items, although many times the code is common.

COleServerItem OverviewClass MembersHierarchy Chart

See Also   COleServerItem::IsConnected, COleLinkingDoc::OnGetLinkedItem