Partager 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

'Déclaration
Function NotifyFindTarget ( _
    notification As UInteger _
) As Integer
'Utilisation
Dim instance As IVsFindTarget
Dim notification As UInteger
Dim returnValue As Integer

returnValue = instance.NotifyFindTarget(notification)
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

IVsFindTarget Members

Microsoft.VisualStudio.TextManager.Interop Namespace