更新:2007 年 11 月
为“在文件中查找”操作提供事件。
命名空间: EnvDTE
程序集: EnvDTE(在 EnvDTE.dll 中)
语法
声明
<GuidAttribute("C5331ACD-C5D5-11D2-8598-006097C68E81")> _
Public Interface FindEvents _
Implements _FindEvents, _dispFindEvents_Event
用法
Dim instance As FindEvents
[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
public interface FindEvents extends _FindEvents, _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