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


COleClientItem::CreateCloneFrom

Call this function to create a copy of the specified OLE item.

BOOL CreateCloneFrom(
   const COleClientItem* pSrcItem 
);

Параметры

  • pSrcItem
    Pointer to the OLE item to be duplicated.

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

Nonzero if successful; otherwise 0.

Заметки

The copy is identical to the source item. You can use this function to support undo operations.

Требования

Header: afxole.h

См. также

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

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleClientItem::CreateNewItem