TextSnapshotChangedEventArgs(ITextSnapshot, ITextSnapshot, Object) Constructeur

Définition

Initialise une nouvelle instance de TextSnapshotChangedEventArgs pour un événement Change.

protected:
 TextSnapshotChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot ^ afterSnapshot, System::Object ^ editTag);
protected:
 TextSnapshotChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot ^ beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot ^ afterSnapshot, Platform::Object ^ editTag);
 TextSnapshotChangedEventArgs(Microsoft::VisualStudio::Text::ITextSnapshot const & beforeSnapshot, Microsoft::VisualStudio::Text::ITextSnapshot const & afterSnapshot, winrt::Windows::Foundation::IInspectable const & editTag);
protected TextSnapshotChangedEventArgs (Microsoft.VisualStudio.Text.ITextSnapshot beforeSnapshot, Microsoft.VisualStudio.Text.ITextSnapshot afterSnapshot, object editTag);
new Microsoft.VisualStudio.Text.TextSnapshotChangedEventArgs : Microsoft.VisualStudio.Text.ITextSnapshot * Microsoft.VisualStudio.Text.ITextSnapshot * obj -> Microsoft.VisualStudio.Text.TextSnapshotChangedEventArgs
Protected Sub New (beforeSnapshot As ITextSnapshot, afterSnapshot As ITextSnapshot, editTag As Object)

Paramètres

beforeSnapshot
ITextSnapshot

ITextSnapshot le plus récent avant le changement.

afterSnapshot
ITextSnapshot

ITextSnapshot juste après le changement.

editTag
Object

Objet arbitraire associé à ce changement.

Exceptions

beforeSnapshot ou afterSnapshot est null.

S’applique à