Uredi

Deli z drugimi prek


Clipboard.SetFileDropList(StringCollection) Method

Definition

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.

Applies to

See also