Condividi tramite


ITextChange.NewSpan Property

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

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

Syntax

'Dichiarazione
ReadOnly Property NewSpan As Span
    Get
Span NewSpan { get; }
property Span NewSpan {
    Span get ();
}
abstract NewSpan : Span
function get NewSpan () : Span

Property Value

Type: Microsoft.VisualStudio.Text.Span
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.

.NET Framework Security

See Also

Reference

ITextChange Interface

Microsoft.VisualStudio.Text Namespace