共用方式為


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

Concepts

COleDataObject Class

COleDataObject Members

Hierarchy Chart

COleDataObject::Attach

COleDataObject::Release