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
- notification
Type: System.UInt32
[in] Specifies notification. Values are taken from the __VSFTNOTIFY enumeration.
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
- 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.