Compartilhar via


PreContentChangedEventArgs Constructor

Definition

Initializes a new instance of PreContentChangedEventArgs.

public:
 PreContentChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, Microsoft::VisualStudio::Text::INormalizedTextChangeCollection ^ changes);
public PreContentChangedEventArgs (Microsoft.VisualStudio.Text.ITextSnapshot beforeSnapshot, Microsoft.VisualStudio.Text.INormalizedTextChangeCollection changes);
new Microsoft.VisualStudio.Text.PreContentChangedEventArgs : Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.INormalizedTextChangeCollection -> Microsoft.VisualStudio.Text.PreContentChangedEventArgs
Public Sub New (beforeSnapshot As ITextSnapshot, changes As INormalizedTextChangeCollection)

Parameters

beforeSnapshot
ITextSnapshot

A text snapshot before the change.

changes
INormalizedTextChangeCollection

The collection of changes.

Applies to