Description

Returns a byte array with the data for a given clipboard format of a dataobject

Return Type

An array of Byte values.   A 0 based safe array of Byte (dim acData(0 to ) as Byte) with the contents for the dataobject.
Failure Returns the array with no dimensions.

Failure conditions:
lClipFormat is not supported.

Syntax

object.DataObjectData (lClipFormat, eOLEDropEffect, [sDisplayName], [bOpenCurrentVsSelection])

The DataObjectData Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodes.
lClipFormatRequired. A Long value. The clipboard format of the data to be stored or 0 for all formats.
eOLEDropEffectRequired. An OLEDropEffectConstants enumeration, as described in settings.
sDisplayNameOptional. A String value.
bOpenCurrentVsSelectionOptional. A Boolean value.

Settings

The settings for eOLEDropEffect are:

ConstantValueDescription
 vbDropEffectNone0

No OLE drag/drop operation has taken place/would take place.

 vbDropEffectCopy1

A mask to indicate that a copy has taken place/would take place.

 vbDropEffectMove2

A mask to indicate that a move has take place/would take place.

 vbDropEffectLink4

A mask to indicate that a link has take place/would take place.

 vbDropEffectScroll-2147483648

A mask to indicate that the drop target window has scrolled/would scroll.

 vbDropEffectAll-2147483641

A mask to indicate for all drop target actions known to this type.

Remarks

Not implemented at this time. Supported formats - ClipboardFormatNumber(), HDrop/vbcfFiles, vbcfText.