Description Fills the DataObject with the data of the selection.
-
Return Type
-
A Boolean value. True when the DataObject has been successfully loaded. Failure Returns False. Failure conditions: * pDataObject is not IDispatch compatible with VBRun.DataObject. * pDataObject is not allocated. * lClipFormat is not supported.
-
Syntax
-
object.DataObjectSetData (pDataObject, lClipFormat, [sDisplayName])
The DataObjectSetData Method syntax has these parts: |
| object | An expression evaluating to an object of type McDataNodes. | | pDataObject | Required. An IUnknown object. An Automation DataObject Object to be loaded with the selection data. The object must be IDispatch compliant to the VB DataObject. | | lClipFormat | Required. A Long value. The clipboard format of the data to be stored or 0 for all formats. | | sDisplayName | Optional. A String value. | Remarks Supported formats - ClipboardFormatNumber(), HDrop/vbcfFiles, vbcfText.
|