Freigeben über


ITextImageVersion.ReiteratedVersionNumber Property

Definition

Gets the oldest version number for which all text changes between that version and this version have been canceled out by corresponding undo/redo operations.

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

Property Value

Remarks

If ReiteratedVersionNumber is not equal to VersionNumber, then for every ITextChange not originated by an undo operation between ReiteratedVersionNumber and VersionNumber, there is a corresponding ITextChange originated by an undo operation that cancels it out. So the contents of the two versions are necessarily identical.

Setting this property correctly is the responsibility of the undo system; aside from this property, the text buffer and related classes are unaware of undo and redo.

Note that the ITextImageVersion created through through an operation that makes no text changes will therefore have the ReiteratedVersionNumber of the previous version.

Applies to