System.Windows.Forms.Clipboard.SetFileDropList C# (CSharp) Method

SetFileDropList() private method

private SetFileDropList ( StringCollection filePaths ) : void
filePaths System.Collections.Specialized.StringCollection
return void
		public static void SetFileDropList (StringCollection filePaths)
		{
			if (filePaths == null)
				throw new ArgumentNullException ("filePaths");
				
			SetData (DataFormats.FileDrop, filePaths);
		}
		

Usage Example

Example #1
0
        private void  制文件夹到剪切板_Click(object sender, EventArgs e)
        {
            StringCollection str1 = new StringCollection();

            str1.Add(filename);
            Clipboard.SetFileDropList(str1);
        }
All Usage Examples Of System.Windows.Forms.Clipboard::SetFileDropList