Επεξεργασία

Κοινή χρήση μέσω


DataObject.GetFileDropList Method

Definition

Retrieves a collection of file names from the data object.

public:
 virtual System::Collections::Specialized::StringCollection ^ GetFileDropList();
public virtual System.Collections.Specialized.StringCollection GetFileDropList ();
abstract member GetFileDropList : unit -> System.Collections.Specialized.StringCollection
override this.GetFileDropList : unit -> System.Collections.Specialized.StringCollection
Public Overridable Function GetFileDropList () As StringCollection

Returns

A StringCollection containing file names or null if the data object does not contain any data that is in the FileDrop format or can be converted to that format.

Remarks

A file drop list is a collection of strings containing path information for files.

A file drop list is stored in a data object as a String array. This method converts this array to a StringCollection and returns the collection.

Use the ContainsFileDropList method to determine whether the data object contains a file drop list before retrieving it with this method.

Use the SetFileDropList method to add a file drop list to the data object.

Applies to

See also