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
beforeSnapshot
Typ: Microsoft.VisualStudio.Text.ITextSnapshotDer letzte ITextSnapshot vor der Änderung.
afterSnapshot
Typ: Microsoft.VisualStudio.Text.ITextSnapshotDer ITextSnapshot unmittelbar nach der Änderung.
editTag
Typ: ObjectEin Objekt dieser Änderung zugeordnet ist.
Ausnahmen
Ausnahme | Bedingung |
---|---|
ArgumentNullException | beforeSnapshot oder afterSnapshot ist nullein Nullverweis (Nothing in Visual Basic). |
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.