为“在文件中查找”操作提供事件。
命名空间:  EnvDTE
程序集:  EnvDTE(在 EnvDTE.dll 中)
语法
声明
<GuidAttribute("C5331ACD-C5D5-11D2-8598-006097C68E81")> _
Public Interface FindEvents _
    Inherits _FindEvents, _dispFindEvents_Event
[GuidAttribute("C5331ACD-C5D5-11D2-8598-006097C68E81")]
public interface FindEvents : _FindEvents, 
    _dispFindEvents_Event
[GuidAttribute(L"C5331ACD-C5D5-11D2-8598-006097C68E81")]
public interface class FindEvents : _FindEvents, 
    _dispFindEvents_Event
[<GuidAttribute("C5331ACD-C5D5-11D2-8598-006097C68E81")>]
type FindEvents =  
    interface
        interface _FindEvents
        interface _dispFindEvents_Event
    end
public interface FindEvents extends _FindEvents, _dispFindEvents_Event
FindEvents 类型公开以下成员。
方法
| 名称 | 说明 | |
|---|---|---|
| .gif) | add_FindDone | 基础结构。仅由 Microsoft 内部使用。 (继承自 _dispFindEvents_Event。) | 
| .gif) | remove_FindDone | 基础结构。仅由 Microsoft 内部使用。 (继承自 _dispFindEvents_Event。) | 
页首
事件
| 名称 | 说明 | |
|---|---|---|
| .gif) | FindDone | 基础结构。仅由 Microsoft 内部使用。 (继承自 _dispFindEvents_Event。) | 
页首
备注
使用此对象可以实现多种功能,有关此对象的文档,请参考 FindEventsClass。 DTE 对象返回 FindEvents 对象。
示例
<System.ContextStaticAttribute()> Public WithEvents FindEvents As EnvDTE.FindEvents
   
Public Sub FindEvents_FindDone(ByVal Result As EnvDTE.vsFindResult, ByVal Cancelled As Boolean) Handles FindEvents.FindDone
   MsgBox("test")
End Sub