다음을 통해 공유


ProjectionSourceSpansChangedEventArgs 생성자

ProjectionSourceSpansChangedEventArgs의 새 인스턴스를 초기화합니다.

네임스페이스:  Microsoft.VisualStudio.Text.Projection
어셈블리:  Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)

구문

‘선언
Public Sub New ( _
    beforeSnapshot As IProjectionSnapshot, _
    afterSnapshot As IProjectionSnapshot, _
    insertedSpans As IList(Of ITrackingSpan), _
    deletedSpans As IList(Of ITrackingSpan), _
    spanPosition As Integer, _
    options As EditOptions, _
    editTag As Object _
)
public ProjectionSourceSpansChangedEventArgs(
    IProjectionSnapshot beforeSnapshot,
    IProjectionSnapshot afterSnapshot,
    IList<ITrackingSpan> insertedSpans,
    IList<ITrackingSpan> deletedSpans,
    int spanPosition,
    EditOptions options,
    Object editTag
)
public:
ProjectionSourceSpansChangedEventArgs(
    IProjectionSnapshot^ beforeSnapshot, 
    IProjectionSnapshot^ afterSnapshot, 
    IList<ITrackingSpan^>^ insertedSpans, 
    IList<ITrackingSpan^>^ deletedSpans, 
    int spanPosition, 
    EditOptions options, 
    Object^ editTag
)
new : 
        beforeSnapshot:IProjectionSnapshot * 
        afterSnapshot:IProjectionSnapshot * 
        insertedSpans:IList<ITrackingSpan> * 
        deletedSpans:IList<ITrackingSpan> * 
        spanPosition:int * 
        options:EditOptions * 
        editTag:Object -> ProjectionSourceSpansChangedEventArgs
public function ProjectionSourceSpansChangedEventArgs(
    beforeSnapshot : IProjectionSnapshot, 
    afterSnapshot : IProjectionSnapshot, 
    insertedSpans : IList<ITrackingSpan>, 
    deletedSpans : IList<ITrackingSpan>, 
    spanPosition : int, 
    options : EditOptions, 
    editTag : Object
)

매개 변수

  • spanPosition
    형식: Int32

    범위 변경이 발생한 위치입니다.

  • editTag
    형식: Object

    이 변경과 관련된 임의의 개체입니다.

예외

예외 조건
ArgumentNullException

beforeSnapshot, afterSnapshot, insertedSpans, or deletedSpansis nullNull 참조(Visual Basic의 경우 Nothing).

.NET Framework 보안

참고 항목

참조

ProjectionSourceSpansChangedEventArgs 클래스

Microsoft.VisualStudio.Text.Projection 네임스페이스