__VSFINDRESULT Enumeration
Indicates the result of a find or replace operation.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaração
Public Enumeration __VSFINDRESULT
public enum __VSFINDRESULT
public enum class __VSFINDRESULT
type __VSFINDRESULT
public enum __VSFINDRESULT
Members
Member name | Description | |
---|---|---|
VSFR_NotFound | The text string was not found. | |
VSFR_Found | Text string was found. | |
VSFR_Replaced | The text string was found and replaced. | |
VSFR_EndOfDoc | Search reached the end of the document | |
VSFR_EndOfSearch | Search reached the start. | |
VSFR_FindInFiles | A background Find in Files was started. | |
VSFR_NoTarget | No target document was specified or found. | |
VSFR_Error | An error occurred. | |
VSFR_AndInterrupt | Search was interrupted with ESC/CANCEL. | |
VSFR_AndReplace | Returned in combination with Found or NotFound | |
VSFR_FLAGMASK | For internal use only. | |
FINDREPLACE_RESULT_Failed | Deprecated. Do not use. | |
FINDREPLACE_RESULT_Found | Deprecated. Do not use. | |
FINDREPLACE_RESULT_Replaced | Deprecated. Do not use. | |
FINDREPLACE_RESULT_EndOfDoc | Deprecated. Do not use. | |
FINDREPLACE_RESULT_EndOfSearch | Deprecated. Do not use. | |
FINDREPLACE_RESULT_FindInFiles | Deprecated. Do not use. |
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;