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


COleLinkingDoc::OnFindEmbeddedItem

Called by the framework to determine whether the document contains an embedded OLE item with the specified name.

virtual COleClientItem* OnFindEmbeddedItem(
   LPCTSTR lpszItemName 
);

Параметры

  • lpszItemName
    Pointer to the name of the embedded OLE item requested.

Возвращаемое значение

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

Заметки

The default implementation searches the list of embedded items for an item with the specified name (the name comparison is case sensitive). Override this function if you have your own method of storing or naming embedded OLE items.

Требования

Header: afxole.h

См. также

Основные понятия

COleLinkingDoc Class

COleLinkingDoc Members

Hierarchy Chart

COleClientItem Class

COleLinkingDoc::OnGetLinkedItem