__VSFINDRESULT Enum

Definition

Indicates the result of a find or replace operation.

public enum class __VSFINDRESULT
public enum class __VSFINDRESULT
enum __VSFINDRESULT
public enum __VSFINDRESULT
type __VSFINDRESULT = 
Public Enum __VSFINDRESULT
Inheritance
__VSFINDRESULT

Fields

FINDREPLACE_RESULT_EndOfDoc 3

Deprecated. Do not use.

FINDREPLACE_RESULT_EndOfSearch 4

Deprecated. Do not use.

FINDREPLACE_RESULT_Failed 0

Deprecated. Do not use.

FINDREPLACE_RESULT_FindInFiles 5

Deprecated. Do not use.

FINDREPLACE_RESULT_Found 1

Deprecated. Do not use.

FINDREPLACE_RESULT_Replaced 2

Deprecated. Do not use.

VSFR_AndInterrupt 1073741824

Search was interrupted with ESC/CANCEL.

VSFR_AndReplace -2147483648

Returned in combination with Found or NotFound

VSFR_EndOfDoc 3

Search reached the end of the document

VSFR_EndOfSearch 4

Search reached the start.

VSFR_Error 7

An error occurred.

VSFR_FindInFiles 5

A background Find in Files was started.

VSFR_FLAGMASK -16777216

For internal use only.

VSFR_Found 1

Text string was found.

VSFR_NoTarget 6

No target document was specified or found.

VSFR_NotFound 0

The text string was not found.

VSFR_Replaced 2

The text string was found and replaced.

Remarks

The FINDREPLACE_RESULT_ names are for compatibility only and are deprecated. Use the VSFR_ names in all new code.

COM Signature

From textfind.idl:

enum __VSFINDRESULT {  
   VSFR_NotFound     = 0,  
   VSFR_Found        = 1,  
   VSFR_Replaced     = 2,  
   VSFR_EndOfDoc     = 3,  
   VSFR_EndOfSearch  = 4,  
   VSFR_FindInFiles  = 5,  
   VSFR_NoTarget     = 6,  
   VSFR_Error        = 7,  
   VSFR_AndInterrupt = 0x40000000,  
   VSFR_AndReplace   = 0x80000000,  
   VSFR_FLAGMASK     = 0xFF000000,  

   // The FINDREPLACE_RESULT_ names are for compatibility only and are deprecated.  
   // Use the VSFR_ names in all new code.  
   FINDREPLACE_RESULT_Failed      = 0,  
   FINDREPLACE_RESULT_Found       = 1,  
   FINDREPLACE_RESULT_Replaced    = 2,  
   FINDREPLACE_RESULT_EndOfDoc    = 3,  
   FINDREPLACE_RESULT_EndOfSearch = 4,  
   FINDREPLACE_RESULT_FindInFiles = 5  
};  
typedef DWORD VSFINDRESULT;  

Applies to