This documentation is archived and is not being maintained.

vsFindTarget Enumeration

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

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

public enum vsFindTarget

Member nameDescription
vsFindTargetCurrentDocumentSearches for a match in the current document. (Default)
vsFindTargetCurrentDocumentSelectionSearches for a match in the selected text in the document.
vsFindTargetCurrentDocumentFunctionSearches the current document for a match in a function. You do not need to select the function before searching it.
vsFindTargetOpenDocumentsSearches for a match in all open documents.
vsFindTargetCurrentProjectSearches for a match in the current project.
vsFindTargetSolutionSearches for a match in the open solution.
vsFindTargetFilesSearches for a match in the specified file(s).