Share via


IVsFindManager.CurrentTarget Method

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)

Syntax

'Declaration
Function CurrentTarget ( _
    <OutAttribute> ByRef ppTarget As IVsFindTarget _
) As Integer
int CurrentTarget(
    out IVsFindTarget ppTarget
)
int CurrentTarget(
    [OutAttribute] IVsFindTarget^% ppTarget
)
abstract CurrentTarget : 
        ppTarget:IVsFindTarget byref -> int 
function CurrentTarget(
    ppTarget : IVsFindTarget
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

.NET Framework Security

See Also

Reference

IVsFindManager Interface

Microsoft.VisualStudio.TextManager.Interop Namespace