DataObject.GetFileDropList 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.
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
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for