Dela 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

Reference

COleClientItem Class

Hierarchy Chart

COleDataObject Class

Other Resources

COleClientItem Members