FindOptions Enumeration

 

Represents the options that are used in a search.

Namespace:   Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

[FlagsAttribute]
public enum FindOptions

Member nameDescription
MatchCase

The search is case-sensitive.

Multiline

The search contains data that could match over line endings..

None

No options have been set.

OrdinalComparison

The string comparison used for the search is culture-insensitive (ordinal). For regular expressions, this option specifies CultureInvariant

SearchReverse

The search starts at the end of the string.

SingleLine

When supplied, uses the Singleline option to perform the searches. Only valid in conjunction with the UseRegularExpressions option.

UseRegularExpressions

The search uses .NET regular expressions.

WholeWord

The search matches whole words only.

Wrap

The search should wrap around if it hits boundaries of the search range..

Return to top
Show: