Share via


SearchFileOptions Class

Definition

Parameters passed to indexing service to filter file find results

public sealed class SearchFileOptions
type SearchFileOptions = class
Public NotInheritable Class SearchFileOptions
Inheritance
SearchFileOptions

Constructors

SearchFileOptions(Boolean, Boolean, Boolean, Nullable<ImmutableArray<String>>)

Constructor for Search File Options

Properties

Filters

A list of file extension filters that the index results will include or exclude For eg: .cs :- would mean that only matches with the file extension .cs should be considered !.cs :- would mean that any files with the extension .cs should not be considered. Note the filter can be for file extension or ends with file path or contains directory path

IncludeExternalItems

Include external items in index results

IncludeHiddenItems

Include hidden items in index results

IncludeMiscellaneousItems

Include miscelleneous project files in index results

Applies to