SelectFiles Method (directory, recurseDirectories)

DotNetZip

Ionic Zip Library v1.9.1.6 SelectFiles Method (directory, recurseDirectories)
ReferenceIonicFileSelectorSelectFiles(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
)
Parameters
directory (String)
The name of the directory over which to apply the FileSelector criteria.
recurseDirectories (Boolean)
Whether to recurse through subdirectories when applying the file selection criteria.
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.

Assembly: Ionic.Zip (Module: Ionic.Zip) Version: 1.9.1.8 (1.9.1.8)