SearchFileOptions Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Constructor for Search File Options
public SearchFileOptions (bool includeMiscellaneousItems, bool includeHiddenItems, bool includeExternalItems, System.Collections.Immutable.ImmutableArray<string>? filters);
new Microsoft.VisualStudio.Text.Operations.SearchFileOptions : bool * bool * bool * Nullable<System.Collections.Immutable.ImmutableArray<string>> -> Microsoft.VisualStudio.Text.Operations.SearchFileOptions
Public Sub New (includeMiscellaneousItems As Boolean, includeHiddenItems As Boolean, includeExternalItems As Boolean, filters As Nullable(Of ImmutableArray(Of String)))
Parameters
- includeMiscellaneousItems
- Boolean
Include miscelleneous project files in index results
- includeHiddenItems
- Boolean
Include hidden items in index results
- includeExternalItems
- Boolean
Include external items in index results
- filters
- Nullable<ImmutableArray<String>>
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