ui.DragDrop.getBuffer

Get drag & drop data from the buffer.

Syntax

getBuffer()
  RETURNING result STRING

Usage

After identifying the MIME type of a dropped object with getSelectedMimeType(), you can call the getBuffer() method to get text data from the drag & drop buffer.

Drag & drop data is only available at ON DROP time, therefore, the getBuffer() method must be called in ON DROP only.