Aracılığıyla paylaş


TextContentChangedEventArgs Constructor

Definition

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.

Applies to