Freigeben über


TextSnapshotChangedEventArgs-Konstruktor

Initialisiert eine neue Instanz von TextSnapshotChangedEventArgs für ein Change-Ereignis.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Protected Sub New ( _
    beforeSnapshot As ITextSnapshot, _
    afterSnapshot As ITextSnapshot, _
    editTag As Object _
)
protected TextSnapshotChangedEventArgs(
    ITextSnapshot beforeSnapshot,
    ITextSnapshot afterSnapshot,
    Object editTag
)
protected:
TextSnapshotChangedEventArgs(
    ITextSnapshot^ beforeSnapshot, 
    ITextSnapshot^ afterSnapshot, 
    Object^ editTag
)
new : 
        beforeSnapshot:ITextSnapshot * 
        afterSnapshot:ITextSnapshot * 
        editTag:Object -> TextSnapshotChangedEventArgs
protected function TextSnapshotChangedEventArgs(
    beforeSnapshot : ITextSnapshot, 
    afterSnapshot : ITextSnapshot, 
    editTag : Object
)

Parameter

  • editTag
    Typ: Object

    Ein Objekt dieser Änderung zugeordnet ist.

Ausnahmen

Ausnahme Bedingung
ArgumentNullException

beforeSnapshot oder afterSnapshot ist nullein Nullverweis (Nothing in Visual Basic).

.NET Framework-Sicherheit

Siehe auch

Referenz

TextSnapshotChangedEventArgs Klasse

Microsoft.VisualStudio.Text-Namespace