TextSnapshotChangedEventArgs Constructor (ITextSnapshot^, ITextSnapshot^, Object^)
Visual Studio 2015
Initializes a new instance of a TextSnapshotChangedEventArgs for a Change event.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
protected:
TextSnapshotChangedEventArgs(
ITextSnapshot^ beforeSnapshot,
ITextSnapshot^ afterSnapshot,
Object^ editTag
)
Parameters
- beforeSnapshot
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshot^
The most recent ITextSnapshot before the change occurred.
- afterSnapshot
-
Type:
Microsoft.VisualStudio.Text::ITextSnapshot^
The ITextSnapshot immediately after the change occurred.
- editTag
-
Type:
System::Object^
An object associated with this change.
| Exception | Condition |
|---|---|
| ArgumentNullException | beforeSnapshot or afterSnapshot is null. |
Show: