Share via


COleDataObject Members

Construction

COleDataObject

Constructs a COleDataObject object.

Operations

Attach

Attaches the specified OLE data object to the COleDataObject.

AttachClipboard

Attaches the data object that is on the Clipboard.

BeginEnumFormats

Prepares for one or more subsequent GetNextFormat calls.

Detach

Detaches the associated IDataObject object.

GetData

Copies data from the attached OLE data object in a specified format.

GetFileData

Copies data from the attached OLE data object into a CFile pointer in the specified format.

GetGlobalData

Copies data from the attached OLE data object into an HGLOBAL in the specified format.

GetNextFormat

Returns the next data format available.

IsDataAvailable

Checks whether data is available in a specified format.

Release

Detaches and releases the associated IDataObject object.

See Also

Reference

COleDataObject Class

Hierarchy Chart