Share via


COleLinkingDoc::OnGetLinkedItem

virtualCOleServerItem*OnGetLinkedItem(LPCTSTRlpszItemName**);**

Return Value

A pointer to the specified item; NULL if the item is not found.

Parameters

lpszItemName

Pointer to the name of the linked OLE item requested.

Remarks

Called by the framework to check whether the document contains a linked server item with the specified name. The default COleLinkingDoc implementation always returns NULL. This function is overriden in the derived class COleServerDoc to search the list of OLE server items for a linked item with the specified name (the name comparison is case sensitive). Override this function if you have implemented your own method of storing or retrieving linked server items.

COleLinkingDoc OverviewClass MembersHierarchy Chart

See Also   COleServerItem::GetItemName, COleServerItem::SetItemName, COleLinkingDoc::OnFindEmbeddedItem