Contains all tracked changes in the main text or another part of a document. It is a collection of objects of the type TrackedChange. A collection object can be obtained with the TextControl.TrackedChanges, the HeaderFooter.TrackedChanges or the TextFrame.TrackedChanges property. The TrackedChangeCollection class implements the IEnumerable and the ICollection interfaces. A TrackedChange object represents a change of the document after someone has reworked the document. After tracking changes has been turned on with the IsTrackChangesEnabled property, a TextControl marks up new changes made to the document.

Syntax

public sealed class TrackedChangeCollection
Public NotInheritable Class TrackedChangeCollection

Introduced: X16.

Methods

Method Description
CopyTo Copies the elements of the collection to an array, starting at a particular index.
GetEnumerator Returns an enumerator that can be used to iterate through the collection.
GetItem Gets a particular item from the collection.
Remove Removes a tracked change from the collection.

Properties

Property Description
Count Gets the number of elements contained in the collection.
IsSynchronized Returns true if the collection is designed to be thread safe, otherwise, it returns false.
Item Gets the change with the specified number from the collection.
SyncRoot Gets an object that can be used to synchronize access to the collection.

Further Reading

Learn more about the TXTextControl.TrackedChangeCollection Class in the Text Control Blog: