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: |
| object | An expression evaluating to an object of type McDataNodes. | | lClipFormat | Required. A Long value. The clipboard format of the data to be stored or 0 for all formats. | | eOLEDropEffect | Required. An OLEDropEffectConstants enumeration, as described in settings. | | sDisplayName | Optional. A String value. | | bOpenCurrentVsSelection | Optional. A Boolean value. | Settings The settings for eOLEDropEffect are:
 | vbDropEffectNone | 0 |
No OLE drag/drop operation has taken place/would take place.
|
 | vbDropEffectCopy | 1 |
A mask to indicate that a copy has taken place/would take place.
|
 | vbDropEffectMove | 2 |
A mask to indicate that a move has take place/would take place.
|
 | vbDropEffectLink | 4 |
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.
|