Share via


IVsFindTarget.NotifyFindTarget Method

Sends notification to a find target of a change in status.

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

Syntax

'Declaration
Function NotifyFindTarget ( _
    notification As UInteger _
) As Integer
int NotifyFindTarget(
    uint notification
)
int NotifyFindTarget(
    [InAttribute] unsigned int notification
)
abstract NotifyFindTarget : 
        notification:uint32 -> int 
function NotifyFindTarget(
    notification : uint
) : int

Parameters

Return Value

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsFindTarget::NotifyFindTarget(
   [in] VSFTNOTIFY notification
);

The environment will call NotifyFindTarget to notify each find target that a change of state is imminent. You can ignore the notification, or respond in whatever manner is appropriate to your editor.

.NET Framework Security

See Also

Reference

IVsFindTarget Interface

Microsoft.VisualStudio.TextManager.Interop Namespace