Partager via


COleClientItem::AttachDataObject

Call this function to initialize a COleDataObject for accessing the data in the OLE item.

void AttachDataObject(
   COleDataObject& rDataObject 
) const;

Parameters

  • rDataObject
    Reference to a COleDataObject object that will be initialized to allow access to the data in the OLE item.

Requirements

Header: afxole.h

See Also

Concepts

COleClientItem Class

COleClientItem Members

Hierarchy Chart

COleDataObject Class