TextSnapshotChangedEventArgs Constructor (ITextSnapshot^, ITextSnapshot^, Object^)

 

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

Namespace:   Microsoft.VisualStudio.Text
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.

Return to top
Show: