共用方式為


vsFindOptions Enum

Definition

Represents the behavior of the ReplacePattern method, such as how to search, where to begin the search, whether to search forward or backward, and the case sensitivity.

public enum class vsFindOptions
public enum class vsFindOptions
enum vsFindOptions
[System.Runtime.InteropServices.Guid("A457303F-D058-4415-A2B4-A81B148C7689")]
public enum vsFindOptions
[<System.Runtime.InteropServices.Guid("A457303F-D058-4415-A2B4-A81B148C7689")>]
type vsFindOptions = 
Public Enum vsFindOptions
Inheritance
vsFindOptions
Attributes

Fields

Name Value Description
vsFindOptionsNone 0

No matching.

vsFindOptionsMatchWholeWord 2

Matches whole word in search.

vsFindOptionsMatchCase 4

Matches case of word in search.

vsFindOptionsRegularExpression 8

Matches regular expression.

vsFindOptionsBackwards 128

Searches backward from current point.

vsFindOptionsFromStart 256

Begins search at beginning of document.

vsFindOptionsMatchInHiddenText 512

Looks for text matches in hidden text as well as nonhidden text. The vsFindOptionsMatchInHiddenText constant value does not apply to the FindPattern method, because it searches all text, including hidden text.

vsFindOptionsWildcards 1024

Uses wildcards in string search.

vsFindOptionsSearchSubfolders 4096

Includes subfolders in word search.

vsFindOptionsKeepModifiedDocumentsOpen 8192

Does not close documents that have been modified by the search.

Applies to