UIApplication.DoDragDrop(ICollection<String>) Method

Initiates a drag and drop operation of a collection of file names on the Revit user interface.


Namespace: Autodesk.Revit.UI
Assembly: RevitAPIUI (in RevitAPIUI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public static void DoDragDrop(
	ICollection<string> dropData
)

Parameters

dropData  ICollection<String>
The list of file paths and names.

Exceptions

ExceptionCondition
ArgumentNullExceptionThrown when dropData is null.
FileArgumentNotFoundExceptionThrown when dropData contains a file that doens't exist.

Remarks

The behavior after the 'dragData' dragged onto Revit is listed bellow:

See Also

Reference

UIApplication Class
DoDragDrop Overload
Autodesk.Revit.UI Namespace