__VSFINDRESULT Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Name | Value | Description |
---|---|---|
VSFR_AndReplace | -2147483648 | Returned in combination with Found or NotFound |
VSFR_FLAGMASK | -16777216 | For internal use only. |
FINDREPLACE_RESULT_Failed | 0 | Deprecated. Do not use. |
VSFR_NotFound | 0 | The text string was not found. |
FINDREPLACE_RESULT_Found | 1 | Deprecated. Do not use. |
VSFR_Found | 1 | Text string was found. |
FINDREPLACE_RESULT_Replaced | 2 | Deprecated. Do not use. |
VSFR_Replaced | 2 | The text string was found and replaced. |
FINDREPLACE_RESULT_EndOfDoc | 3 | Deprecated. Do not use. |
VSFR_EndOfDoc | 3 | Search reached the end of the document |
FINDREPLACE_RESULT_EndOfSearch | 4 | Deprecated. Do not use. |
VSFR_EndOfSearch | 4 | Search reached the start. |
FINDREPLACE_RESULT_FindInFiles | 5 | Deprecated. Do not use. |
VSFR_FindInFiles | 5 | A background Find in Files was started. |
VSFR_NoTarget | 6 | No target document was specified or found. |
VSFR_Error | 7 | An error occurred. |
VSFR_AndInterrupt | 1073741824 | Search was interrupted with ESC/CANCEL. |
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;