Partager via


FindOptions Enumeration

Represents the options that are used in a search.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'Déclaration
<FlagsAttribute> _
Public Enumeration FindOptions
[FlagsAttribute]
public enum FindOptions
[FlagsAttribute]
public enum class FindOptions
[<FlagsAttribute>]
type FindOptions
public enum FindOptions

Members

Member name Description
None No options have been set.
MatchCase The search is case-sensitive.
UseRegularExpressions The search uses .NET regular expressions.
WholeWord The search matches whole words only.
SearchReverse The search starts at the end of the string.
Wrap The search should wrap around if it hits boundaries of the search range..
Multiline The search contains data that could match over line endings..
OrdinalComparison The string comparison used for the search is culture-insensitive (ordinal). For regular expressions, this option specifies CultureInvariant
SingleLine When supplied, uses the Singleline option to perform the searches. Only valid in conjunction with the UseRegularExpressions option.

See Also

Reference

Microsoft.VisualStudio.Text.Operations Namespace