Ionic Zip Library v1.9.1.6
SelectFiles Method (directory, recurseDirectories)
Reference ► Ionic ► FileSelector ► SelectFiles(String, Boolean)
Returns the names of the files in the specified directory that fit the
selection criteria specified in the FileSelector, optionally recursing
through subdirectories.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public ReadOnlyCollection<string> SelectFiles( string directory, bool recurseDirectories )
Public Function SelectFiles ( _ directory As String, _ recurseDirectories As Boolean _ ) As ReadOnlyCollection(Of String)
public: ReadOnlyCollection<String^>^ SelectFiles( String^ directory, bool recurseDirectories )
Return Value
A collection of strings containing fully-qualified pathnames of files
that match the criteria specified in the FileSelector instance.
Remarks
This method applies the file selection criteria contained in the
FileSelector to the files contained in the given directory, and
returns the names of files that conform to the criteria.