共用方式為


ITextChange.OldPosition Property

Definition

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

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

Property Value

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

Remarks

This is the equivalent of OldSpan.Start.

Applies to