Compartilhar via


TextSnapshotChangedEventArgs Class

Definition

Provides information about a transaction on a ITextBuffer that causes a new ITextSnapshot to be generated.

public ref class TextSnapshotChangedEventArgs abstract : EventArgs
public abstract class TextSnapshotChangedEventArgs : EventArgs
type TextSnapshotChangedEventArgs = class
    inherit EventArgs
Public MustInherit Class TextSnapshotChangedEventArgs
Inherits EventArgs
Inheritance
TextSnapshotChangedEventArgs
Derived

Remarks

This is the base class for classes such as ContentTypeChangedEventArgs and TextContentChangedEventArgs.

Constructors

TextSnapshotChangedEventArgs(ITextSnapshot, ITextSnapshot, Object)

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

Properties

After

Gets the state of the ITextBuffer after the change.

AfterVersion

Gets the ITextVersionn associated with After.

Before

Gets the state of the ITextBuffer before the change occurred.

BeforeVersion

Gets the ITextVersion associated with Before.

EditTag

Gets an arbitrary object provided by the initiator of the changes.

Applies to