Compartir a través de


ITextChange.NewPosition Property

Gets the position of the text change in the snapshot immediately after the change.

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

Syntax

'Declaración
ReadOnly Property NewPosition As Integer
int NewPosition { get; }
property int NewPosition {
    int get ();
}
abstract NewPosition : int
function get NewPosition () : int

Property Value

Type: System.Int32
The position of the text change in the snapshot immediately after the change.

Remarks

The position can differ from OldPosition only when there is more than one ITextChange included in moving from one snapshot to the next.

This is the equivalent of NewSpan.Start.

.NET Framework Security

See Also

Reference

ITextChange Interface

Microsoft.VisualStudio.Text Namespace