Partager via


TextSnapshotChangedEventArgs(ITextSnapshot, ITextSnapshot, Object) Constructor

Definition

Initializes a new instance of a TextSnapshotChangedEventArgs for a Change event.

protected:
 TextSnapshotChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot ^ afterSnapshot, System::Object ^ editTag);
protected:
 TextSnapshotChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot ^ afterSnapshot, Platform::Object ^ editTag);
 TextSnapshotChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot const & beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot const & afterSnapshot, winrt::Windows::Foundation::IInspectable const & editTag);
protected TextSnapshotChangedEventArgs (Microsoft.VisualStudio.Text.ITextSnapshot beforeSnapshot, Microsoft.VisualStudio.Text.ITextSnapshot afterSnapshot, object editTag);
new Microsoft.VisualStudio.Text.TextSnapshotChangedEventArgs : Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.ITextSnapshot * obj -> Microsoft.VisualStudio.Text.TextSnapshotChangedEventArgs
Protected Sub New (beforeSnapshot As ITextSnapshot, afterSnapshot As ITextSnapshot, editTag As Object)

Parameters

beforeSnapshot
ITextSnapshot

The most recent ITextSnapshot before the change occurred.

afterSnapshot
ITextSnapshot

The ITextSnapshot immediately after the change occurred.

editTag
Object

An arbitrary object associated with this change.

Exceptions

beforeSnapshot or afterSnapshot is null.

Applies to