Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic


Called by the framework to check whether the document contains a linked server item with the specified name.

virtual COleServerItem* OnGetLinkedItem(
   LPCTSTR lpszItemName 



Pointer to the name of the linked OLE item requested.

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

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.