共用方式為


vsFindTarget Enum

Definition

Indicates the target for the search operation, such as the current document or files on disk.

public enum class vsFindTarget
public enum class vsFindTarget
enum vsFindTarget
[System.Runtime.InteropServices.Guid("481899FB-B657-4E45-8C00-0E051052BB13")]
public enum vsFindTarget
[<System.Runtime.InteropServices.Guid("481899FB-B657-4E45-8C00-0E051052BB13")>]
type vsFindTarget = 
Public Enum vsFindTarget
Inheritance
vsFindTarget
Attributes

Fields

Name Value Description
vsFindTargetCurrentDocument 1

Searches for a match in the current document. (Default)

vsFindTargetCurrentDocumentSelection 2

Searches for a match in the selected text in the document.

vsFindTargetCurrentDocumentFunction 3

Searches the current document for a match in a function. You do not need to select the function before searching it.

vsFindTargetOpenDocuments 4

Searches for a match in all open documents.

vsFindTargetCurrentProject 5

Searches for a match in the current project.

vsFindTargetSolution 6

Searches for a match in the open solution.

vsFindTargetFiles 7

Searches for a match in the specified file(s).

Applies to