Share via


COleDataObject::Detach

Call this function to detach the COleDataObject object from its associated OLE data object without releasing the data object.

LPDATAOBJECT Detach( );

Return Value

A pointer to the OLE data object that was detached.

Requirements

Header: afxole.h

See Also

Reference

COleDataObject Class

Hierarchy Chart

COleDataObject::Attach

COleDataObject::Release

Other Resources

COleDataObject Members