ExDataObjectFiles object

The ExDataObjectFiles contains a collection of filenames. The ExDataObjectFiles object is used in OLE Drag and drop events. In order to get the list of files used in drag and drop operations you have to use the Files property. The OleDragDrop event notifies your application that the user drags some data on the control. The ExDataObjectFiles object supports the following properties and methods:

NameDescription
AddAdds a filename to the Files collection
ClearRemoves all file names in the collection.
CountReturns the number of file names in the collection.
ItemReturns an specific file name.
RemoveRemoves an specific file name.