TextContentChangedEventArgs(ITextSnapshot, ITextSnapshot, EditOptions, Object) Konstruktor

Definition

Initialisiert eine neue Instanz von TextContentChangedEventArgs für ein Änderungs Ereignis.

public:
 TextContentChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot ^ afterSnapshot, Microsoft::VisualStudio::Text::EditOptions options, System::Object ^ editTag);
 TextContentChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot const & beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot const & afterSnapshot, Microsoft::VisualStudio::Text::EditOptions options, winrt::Windows::Foundation::IInspectable const & editTag);
public TextContentChangedEventArgs (Microsoft.VisualStudio.Text.ITextSnapshot beforeSnapshot, Microsoft.VisualStudio.Text.ITextSnapshot afterSnapshot, Microsoft.VisualStudio.Text.EditOptions options, object editTag);
new Microsoft.VisualStudio.Text.TextContentChangedEventArgs : Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.EditOptions * obj -> Microsoft.VisualStudio.Text.TextContentChangedEventArgs
Public Sub New (beforeSnapshot As ITextSnapshot, afterSnapshot As ITextSnapshot, options As EditOptions, editTag As Object)

Parameter

beforeSnapshot
ITextSnapshot

Der letzte ITextSnapshot vor der Änderung.

afterSnapshot
ITextSnapshot

Der ITextSnapshot unmittelbar nach der Änderung.

options
EditOptions

Bearbeitungsoptionen, die für diese Änderung angewendet wurden.

editTag
Object

Ein beliebiges Objekt, das dieser Änderung zugeordnet ist.

Ausnahmen

beforeSnapshot oder afterSnapshot oder options ist NULL.

Gilt für