SearchOptions Enum
Definition
Defines options for search and replace operations.
This enumeration has a FlagsAttribute
attribute that allows a bitwise combination of its member values.
Syntax
[Flags]
public enum SearchOptions
Fields
Name | Description |
---|---|
AllDocuments | Search is performed in all documents. |
BackwardSearch | Specifies that search should be executed towards the beginning of text. |
CaseSensitive | Specifies that search should be case sensitive. |
CurrentProject | Search is performed in current project. |
CycledSearch | Search until current position is reached. |
DisplayIncrementalSearchDiaog | Incremental search is performed with dialog. |
EntireScope | Specifies that search should start from the beginning of text. |
EntireSolution | Search is performed in entire solution. |
FindSelectedText | Specifies that selected text of the active document should be used as text to find. |
FindTextAtCursor | Specifies that text at the current position of the active document should be used as text to find. |
None | Specifies that no flags are in effect. |
PromptOnReplace | Specifies that confirm dialog should appear before replacing found text. |
RegularExpressions | Specifies that text to find represents notations for patterns of text rather than the literal character. |
SearchHiddenText | Specifies that the search includes invisible text, such as an collapsed section. |
SelectionOnly | Searches only within the selected text in the currently active document. |
SilentSearch | Search until current position is reached. |
WholeWordsOnly | Searches only for whole words, rather than matching the text as it occurs within words. |