TextContentChangedEventArgs Constructor (ITextSnapshot^, ITextSnapshot^, EditOptions, Object^)
Visual Studio 2015
Initializes a new instance of TextContentChangedEventArgs.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
public:
TextContentChangedEventArgs(
ITextSnapshot^ beforeSnapshot,
ITextSnapshot^ afterSnapshot,
EditOptions options,
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.
- options
-
Type:
Microsoft.VisualStudio.Text::EditOptions
Edit options that were applied to this change.
- editTag
-
Type:
System::Object^
An arbitrary object associated with this change.
| Exception | Condition |
|---|---|
| ArgumentNullException | beforeSnapshot, afterSnapshot, or options is null. |
Show: