Прочитать на английском

Поделиться через


ProjectionSourceSpansChangedEventArgs Constructor

Initializes a new instance of a ProjectionSourceSpansChangedEventArgs.

Namespace:  Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

public ProjectionSourceSpansChangedEventArgs(
    IProjectionSnapshot beforeSnapshot,
    IProjectionSnapshot afterSnapshot,
    IList<ITrackingSpan> insertedSpans,
    IList<ITrackingSpan> deletedSpans,
    int spanPosition,
    EditOptions options,
    Object editTag
)

Parameters

  • spanPosition
    Type: System.Int32
    The position at which the span changes occurred.
  • editTag
    Type: System.Object
    An arbitrary object associated with this change.

Exceptions

Exception Condition
ArgumentNullException

beforeSnapshot, afterSnapshot, insertedSpans, or deletedSpansis nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

ProjectionSourceSpansChangedEventArgs Class

Microsoft.VisualStudio.Text.Projection Namespace