TextEditorEvents 介面
更新:2007 年 11 月
提供在文字/程式碼編輯器中所做之變更的事件。請使用此介面的功能,如需物件的說明,請參考 TextEditorEventsClass。
命名空間: EnvDTE
組件: EnvDTE (在 EnvDTE.dll 中)
語法
<GuidAttribute("23B7A868-6C89-436A-94FA-25D755456A77")> _
Public Interface TextEditorEvents _
Implements _TextEditorEvents, _dispTextEditorEvents_Event
Dim instance As TextEditorEvents
[GuidAttribute("23B7A868-6C89-436A-94FA-25D755456A77")]
public interface TextEditorEvents : _TextEditorEvents,
_dispTextEditorEvents_Event
[GuidAttribute(L"23B7A868-6C89-436A-94FA-25D755456A77")]
public interface class TextEditorEvents : _TextEditorEvents,
_dispTextEditorEvents_Event
public interface TextEditorEvents extends _TextEditorEvents, _dispTextEditorEvents_Event
備註
TextEditorEvents 物件由 DTE.Events 傳回。
範例
<System.ContextStaticAttribute()> Public WithEvents TextEditorEvents As EnvDTE.TextEditorEvents
Public Sub TextEditorEvents_LineChanged(ByVal StartPoint As EnvDTE.TextPoint, ByVal EndPoint As EnvDTE.TextPoint, ByVal Hint As Integer) Handles TextEditorEvents.LineChanged
MsgBox("test")
End Sub