次の方法で共有


ProjectionSourceSpansChangedEventArgs Class

Definition

Provides information for an edit transaction on a IProjectionBuffer in which the set of source ITrackingSpan objects has changed.

public ref class ProjectionSourceSpansChangedEventArgs : Microsoft::VisualStudio::Text::TextContentChangedEventArgs
public class ProjectionSourceSpansChangedEventArgs : Microsoft.VisualStudio.Text.TextContentChangedEventArgs
type ProjectionSourceSpansChangedEventArgs = class
    inherit TextContentChangedEventArgs
Public Class ProjectionSourceSpansChangedEventArgs
Inherits TextContentChangedEventArgs
Inheritance
Derived

Constructors

ProjectionSourceSpansChangedEventArgs(IProjectionSnapshot, IProjectionSnapshot, IList<ITrackingSpan>, IList<ITrackingSpan>, Int32, EditOptions, Object)

Initializes a new instance of a ProjectionSourceSpansChangedEventArgs.

Properties

After

The state of the IProjectionBuffer after the change occurred.

AfterVersion

Gets the ITextVersionn associated with After.

(Inherited from TextSnapshotChangedEventArgs)
Before

The state of the IProjectionBuffer before the change occurred.

BeforeVersion

Gets the ITextVersion associated with Before.

(Inherited from TextSnapshotChangedEventArgs)
Changes

Gets the set of changes that occurred.

(Inherited from TextContentChangedEventArgs)
DeletedSpans

The set of source spans that were deleted from the IProjectionBuffer by this edit transaction.

EditTag

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

(Inherited from TextSnapshotChangedEventArgs)
InsertedSpans

The set of source spans that were inserted into the IProjectionBuffer by this edit transaction.

Options

Gets the edit options that were applied to this change.

(Inherited from TextContentChangedEventArgs)
SpanPosition

The position in the list of source spans at which the change occurred.

Applies to