TextContentChangedEventArgs Constructor    
Definition
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 an new instance of TextContentChangedEventArgs for a Change event.
public:
 TextContentChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot ^ afterSnapshot, Microsoft::VisualStudio::Text::EditOptions options, System::Object ^ editTag);
	 TextContentChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot const & beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot const & afterSnapshot, Microsoft::VisualStudio::Text::EditOptions options, winrt::Windows::Foundation::IInspectable const & editTag);
	public TextContentChangedEventArgs(Microsoft.VisualStudio.Text.ITextSnapshot beforeSnapshot, Microsoft.VisualStudio.Text.ITextSnapshot afterSnapshot, Microsoft.VisualStudio.Text.EditOptions options, object editTag);
	new Microsoft.VisualStudio.Text.TextContentChangedEventArgs : Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.EditOptions * obj -> Microsoft.VisualStudio.Text.TextContentChangedEventArgs
	Public Sub New (beforeSnapshot As ITextSnapshot, afterSnapshot As ITextSnapshot, options As EditOptions, editTag As Object)
	Parameters
- beforeSnapshot
 - ITextSnapshot
 
The most recent ITextSnapshot before the change occurred.
- afterSnapshot
 - ITextSnapshot
 
The ITextSnapshot immediately after the change occurred.
- options
 - EditOptions
 
Edit options that were applied to this change.
- editTag
 - Object
 
An arbitrary object associated with this change.
Exceptions
beforeSnapshot or
afterSnapshot or
options is null.