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.

C++/CX
public:
 property int OldPosition { int get(); };

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

Produkt Verzie
Visual Studio SDK 2015, 2017, 2019, 2022