Find2 Method Differences
In Visual Studio Macros, a number of Find2 parameters are handled differently than in Visual Studio. With Target, any reference to Find in File is not supported, while SearchPath and FilesOfType are ignored. The FindDone event also is not supported; although it is visible in the FindEvents collection, it is not fired, so using it for event handling will result in an error.
The following table lists the differences in Find2 between Visual Studio Macros and the Visual Studio extensibility model.
Operation |
Behavior in Visual Studio Macros |
---|---|
vsFindTargetFiles and vsFindTargetSolution return errors |
|
Returns an error |
|
Returns an empty string |
See Also
Concepts
Extensibility Model Differences