TextEditorEvents الواجهة

توفير الأحداث للتغييرات التي تم إجراؤها في محرر نص/تعليمات برمجية. استخدام هذه الواجهة للوظيفة والرجوع إلى TextEditorEventsClassلهذه الوثائق كائن's.

مساحة الاسم:  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الكائن هو التي يتم إرجاعها بواسطة 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

راجع أيضًَا

المرجع

TextEditorEvents الأعضاء

EnvDTE مساحة الاسم