Поделиться через


Find2 Method Differences (Macros IDE)

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

Target

vsFindTargetFiles and vsFindTargetSolution return errors

SearchPath

Returns an error

FilesOfType

Returns an empty string

See Also

Concepts

Extensibility Model Differences (Macros IDE)

Document Object and Documents Object Differences (Macros IDE)

Property Differences (Macros IDE)

Item Operation Differences (Macros IDE)

Project Differences (Macros IDE)

Options Differences (Macros IDE)