IVsFindManager.CurrentTarget(IVsFindTarget) Method

Definition

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.

Applies to