Clipboard.SetFileDropList(StringCollection) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stores FileDrop data on the Clipboard. The dropped file list is specified as a string collection.
public:
static void SetFileDropList(System::Collections::Specialized::StringCollection ^ fileDropList);
public static void SetFileDropList (System.Collections.Specialized.StringCollection fileDropList);
static member SetFileDropList : System.Collections.Specialized.StringCollection -> unit
Public Shared Sub SetFileDropList (fileDropList As StringCollection)
Parameters
- fileDropList
- StringCollection
A string collection that contains the dropped file list to store in the data object.
Exceptions
fileDropList
is null
.
fileDropList
contains zero strings, or the full path to file specified in the list cannot be resolved.
Remarks
This method adds data with auto-conversion enabled.