संपादित करें

इसके माध्यम से साझा किया गया


DataObject.SetFileDropList(StringCollection) Method

Definition

Stores FileDrop data in this data object. The dropped file list is specified as a string collection.

public:
 void SetFileDropList(System::Collections::Specialized::StringCollection ^ fileDropList);
public void SetFileDropList (System.Collections.Specialized.StringCollection fileDropList);
member this.SetFileDropList : System.Collections.Specialized.StringCollection -> unit
Public 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 (the same as calling SetData(String, Object, Boolean) with autoConvert set to true).

Applies to

See also