共用方式為


ITextChange.NewPosition Property

Definition

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

public:
 property int NewPosition { int get(); };
public:
 property int NewPosition { int get(); };
public int NewPosition { get; }
member this.NewPosition : int
Public ReadOnly Property NewPosition As Integer

Property Value

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

Remarks

This is the equivalent of NewSpan.Start.

Applies to