New to Telerik UI for WPFStart a free 30-day trial

Provides a standalone API for searching files in the windows file system.

Definition

Constructors

Initializes a new instance of the FileSearchProvider class.

C#
public FileSearchProvider()

Initializes a new instance of the FileSearchProvider class.

C#
public FileSearchProvider(SearchSettings settings)
Parameters:settingsSearchSettings

Methods

Gets the IPropertyValueProvider associated with the current OleDbDataReader when searching in indexed locations.

C#
protected override IPropertyValueProvider GetPropertyValueProvider(OleDbDataReader oleDbReader)
Parameters:oleDbReaderOleDbDataReaderReturns:

IPropertyValueProvider

Overrides: FileSearchProviderBase.GetPropertyValueProvider(OleDbDataReader)

Gets the IPropertyValueProvider associated with the current file result when searching in non-indexed locations.

C#
protected override IPropertyValueProvider GetPropertyValueProvider(string pathToFileOrDir)
Parameters:pathToFileOrDirstringReturns:

IPropertyValueProvider

Overrides: FileSearchProviderBase.GetPropertyValueProvider(string)

Gets the 'SQL'-like search query when searching in indexed locations.

C#
protected override string GetSearchQuery(string pattern, string dirPath)
Parameters:patternstringdirPathstringReturns:

string

Overrides: FileSearchProviderBase.GetSearchQuery(string, string)