DataObject.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 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
Feedback
https://aka.ms/ContentUserFeedback.
În curând: Pe parcursul anului 2024, vom elimina treptat Probleme legate de GitHub ca mecanism de feedback pentru conținut și îl vom înlocui cu un nou sistem de feedback. Pentru mai multe informații, consultați:Trimiteți și vizualizați feedback pentru