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
- 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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.