共用方式為


ITextChange.NewSpan Property

Definition

The span of the ITextChange in the snapshot immediately after the change.

public:
 property Microsoft::VisualStudio::Text::Span NewSpan { Microsoft::VisualStudio::Text::Span get(); };
public:
 property Microsoft::VisualStudio::Text::Span NewSpan { Microsoft::VisualStudio::Text::Span get(); };
public Microsoft.VisualStudio.Text.Span NewSpan { get; }
member this.NewSpan : Microsoft.VisualStudio.Text.Span
Public ReadOnly Property NewSpan As Span

Property Value

The span of the ITextChange in the snapshot immediately after the change.

Remarks

This span is empty for a pure deletion. Its start position may differ from OldSpan.Start only when there is more than one ITextChange included in moving from one snapshot to the next.

Applies to