Compartilhar 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

'Declaration
<FlagsAttribute> _
Public Enumeration FindOptions
[FlagsAttribute]
public enum FindOptions
[FlagsAttribute]
public enum class FindOptions
[<FlagsAttribute>]
type FindOptions
public enum FindOptions

Members

Member name Description
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..

See Also

Reference

Microsoft.VisualStudio.Text.Operations Namespace