IVsFindManager::CurrentTarget Method (IVsFindTarget^)

 

Gets the current find target, if it is available, by looking through different forms and documents.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.10.0 (in Microsoft.VisualStudio.TextManager.Interop.10.0.dll)

int CurrentTarget(
	[OutAttribute] IVsFindTarget^% ppTarget
)

Parameters

ppTarget
Type: Microsoft.VisualStudio.TextManager.Interop::IVsFindTarget^

[out] The find target.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Return to top
Show: