Freigeben über


COleClientItem::CreateCloneFrom

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

BOOL CreateCloneFrom(
   const COleClientItem* pSrcItem 
);

Parameters

  • pSrcItem
    Pointer to the OLE item to be duplicated.

Return Value

Nonzero if successful; otherwise 0.

Remarks

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

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleClientItem::CreateNewItem