FindOptions Enum

Definition

Represents the options that are used in a search.

This enumeration supports a bitwise combination of its member values.

public enum class FindOptions
public enum class FindOptions
enum FindOptions
[System.Flags]
public enum FindOptions
[<System.Flags>]
type FindOptions = 
Public Enum FindOptions
Inheritance
FindOptions
Attributes

Fields

Name Value Description
None 0

No options have been set.

MatchCase 1

The search is case-sensitive.

UseRegularExpressions 2

The search uses .NET regular expressions.

WholeWord 4

The search matches whole words only.

SearchReverse 8

The search starts at the end of the string.

Wrap 16

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

Multiline 32

The search contains data that could match over line endings.

OrdinalComparison 64

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

SingleLine 128

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

DoNotUpdateUI 256

Indicates that no message dialogs should be shown as a result of the search.

PreserveCase 512

Preserve case when performing a replace

Applies to