FileLocator Pro .NET Library
Show/Hide TOC

# SearchFileSystemCriteria Class

Represents the search criteria for a file system search.

## Definition

Namespace: Mythicsoft.Search.Core
Assembly: Mythicsoft.Search.Core (in Mythicsoft.Search.Core.dll) Version: 9.3.830.1
C#

    public class SearchFileSystemCriteria : SearchCriteria

C++

    public ref class SearchFileSystemCriteria : public SearchCriteria

Inheritance
  Object SearchCriteria SearchFileSystemCriteria

## Constructors

SearchFileSystemCriteria | Initializes a new instance of the SearchFileSystemCriteria class

## Properties

Attributes | The file attributes to search for.
Configuration | The search configuration. (Inherited from SearchCriteria)
ContainingText | Gets or sets the text expression to search for within the files matching FileName.
ContainingTextScript | The active script to execute when validating file contents.
ContentsExprSpanFile | Gets or sets the flag indicating if the content search is matched across the whole file. If false the expression is matched on a line-by-line basis.
ContentsExprType | Gets or sets the expression type for the ContainingText value.
CreatedDate | The range of created file dates to search for.
FileName | Gets or sets the file name expression to search for.
FileNameExprType | The type of expression for the FileName value.
FileNameScript | The active script to execute when validating file names.
FileSize | The range of file sizes to search for.
LastAccessedDate | The range of last accessed file dates to search for.
LookIn | Gets or sets the paths to search. Multiple paths should be semi-colon separated.
LookInExprType | Gets or sets the expression type for the LookIn value.
MatchContentsCase | Gets or sets the flag indicating if the ContainingText expression is case-sensitive.
MatchFilenameCase | Gets or sets the flag indicating if the FileName expression is case-sensitive.
ModifiedDate | The range of modified file dates to search for.
RegExprType | Gets or sets the flag indicating if regular expressions should be interpreted as the default Boost (Perl compatible) regexs or the simpler Classic regexs.
SearchSubDirectory | Gets or sets the flag indicating if subfolders should be recursively searched.

## Methods

ApplyChanges | Apply changes to the search criteria. (Inherited from SearchCriteria)
Dispose | (Inherited from SearchCriteria)
Dispose(Boolean) | Releases the unmanaged resources used by the SearchFileSystemCriteria and optionally releases the managed resources (Overrides SearchCriteriaDispose(Boolean))
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Non-GC class clean up (Inherited from SearchCriteria)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
IsHashOn | Determines if a given hash type is active or not.
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ResetHashSettings | Resets all the hash types.
Save | Saves the search criteria and configuration to a stream. (Inherited from SearchCriteria)
SaveXML | Saves the search criteria and configuration to an Xml string. (Inherited from SearchCriteria)
SetHashType | Switches a specific hash type on or off.
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Mythicsoft.Search.Core Namespace