IVsFindManager.CurrentTarget(IVsFindTarget) Method
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.
Gets the current find target, if it is available, by looking through different forms and documents.
public:
int CurrentTarget([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsFindTarget ^ % ppTarget);
public:
int CurrentTarget([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsFindTarget ^ & ppTarget);
int CurrentTarget([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsFindTarget const & & ppTarget);
public int CurrentTarget (out Microsoft.VisualStudio.TextManager.Interop.IVsFindTarget ppTarget);
abstract member CurrentTarget : IVsFindTarget -> int
Public Function CurrentTarget (ByRef ppTarget As IVsFindTarget) As Integer
Parameters
- ppTarget
- IVsFindTarget
[out] The find target.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.