TextSnapshotChangedEventArgs(ITextSnapshot, ITextSnapshot, Object) Constructor
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- 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.
beforeSnapshot
or afterSnapshot
is null.