次の方法で共有


TextEditorEvents インターフェイス

テキスト エディターとコード エディターで行われた変更に対するイベントを提供します。 このインターフェイスを使用して機能を提供します。このオブジェクトのドキュメントについては、TextEditorEventsClass を参照してください。

名前空間:  EnvDTE
アセンブリ:  EnvDTE (EnvDTE.dll 内)

構文

'宣言
<GuidAttribute("23B7A868-6C89-436A-94FA-25D755456A77")> _
Public Interface TextEditorEvents _
    Inherits _TextEditorEvents, _dispTextEditorEvents_Event
[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
[<GuidAttribute("23B7A868-6C89-436A-94FA-25D755456A77")>]
type TextEditorEvents =  
    interface
        interface _TextEditorEvents
        interface _dispTextEditorEvents_Event
    end
public interface TextEditorEvents extends _TextEditorEvents, _dispTextEditorEvents_Event

TextEditorEvents 型で公開されるメンバーは以下のとおりです。

メソッド

  名前 説明
パブリック メソッド add_LineChanged インフラストラクチャ。 マイクロソフト内部でのみ使用します。 (_dispTextEditorEvents_Event から継承されます。)
パブリック メソッド remove_LineChanged インフラストラクチャ。 マイクロソフト内部でのみ使用します。 (_dispTextEditorEvents_Event から継承されます。)

このページのトップへ

イベント

  名前 説明
パブリック イベント LineChanged インフラストラクチャ。 マイクロソフト内部でのみ使用します。 (_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

参照

参照

EnvDTE 名前空間