LocationMy.Computer.Clipboard.SetFileDropList SyntaxMy.Computer.Clipboard.SetFileDropList(filePaths)
DescriptionThe SetFileDropList method writes a collection of strings to the system clipboard, where each string contains a file path. Usage at a Glance
ExampleThe following code adds a list of files to the clipboard as a file drop list. Dim pasteFiles As New _ System.Collections.Specialized.StringCollection pasteFiles.Add("c:\temp\file1.txt") pasteFiles.Add("c:\temp\file2.txt") My.Computer.Clipboard.SetFileDropList(pasteFiles) Related Framework Entries
See AlsoClipboard Object, ContainsFileDropList Method, GetFileDropList Method, SetAudio Method, SetData Method, SetDataObject Method, SetFileDropList Method, SetImage Method, SetText Method |