C# | Visual Basic | Visual C++ |
public class FileSelector
Public Class FileSelector
public ref class FileSelector
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
FileSelector(String) |
Constructor that allows the caller to specify file selection criteria.
|
|
FileSelector(String, Boolean) |
Constructor that allows the caller to specify file selection criteria.
|
|
Equals(Object) | (Inherited from Object.) |
|
Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) |
|
MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
SelectEntries(ZipFile) |
Retrieve the ZipEntry items in the ZipFile that conform to the specified criteria.
|
|
SelectEntries(ZipFile, String) |
Retrieve the ZipEntry items in the ZipFile that conform to the specified criteria.
|
|
SelectFiles(String) |
Returns the names of the files in the specified directory
that fit the selection criteria specified in the 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.
|
|
SelectionCriteria |
The string specifying which files to include when retrieving.
|
|
ToString()()()() |
Returns a string representation of the FileSelector object.
(Overrides Object.ToString()()()().) |
|
TraverseReparsePoints |
Indicates whether searches will traverse NTFS reparse points, like Junctions.
|
The FileSelector class is used internally by the ZipFile class for selecting files for inclusion into the ZipFile, when the AddSelectedFiles(String, String) method, or one of its overloads, is called. It's also used for the ExtractSelectedEntries(String) methods. Typically, an application that creates or manipulates Zip archives will not directly interact with the FileSelector class.
Some applications may wish to use the FileSelector class directly, to select files from disk volumes based on a set of criteria, without creating or querying Zip archives. The file selection criteria include: a pattern to match the filename; the last modified, created, or last accessed time of the file; the size of the file; and the attributes of the file.
Consult the documentation for SelectionCriteria for more information on specifying the selection criteria.
Object | |
FileSelector |