Поделиться через


COleServerItem::IsLinkedItem

Call this function to see if the OLE item is a linked item.

BOOL IsLinkedItem( ) const;

Return Value

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

Remarks

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.

Requirements

Header: afxole.h

See Also

Reference

COleServerItem Class

Hierarchy Chart

COleServerItem::IsConnected

COleLinkingDoc::OnGetLinkedItem