IVsFindTarget.NotifyFindTarget 方法

通知发送给一种状态更改的外观目标。

命名空间:  Microsoft.VisualStudio.TextManager.Interop
程序集:  Microsoft.VisualStudio.TextManager.Interop(在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

语法

声明
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

参数

  • notification
    类型:UInt32

    [in] 指定通知。 值从 __VSFTNOTIFY 枚举中采用。

返回值

类型:Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 textmgr.idl:

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

环境将调用 NotifyFindTarget 注意每个查找目标状态更改即将。 您可以忽略该通知,也可以响应在任何适当的方式到编辑器。

.NET Framework 安全性

请参阅

参考

IVsFindTarget 接口

Microsoft.VisualStudio.TextManager.Interop 命名空间