TXTextControl.TrackedChangeCollection.GetItem Method

Gets a particular item from the collection.

GetItem()

Gets the change at the current text input position. If there is more than one change at the current input position the innermost change is returned.

[C#]
public TrackedChange GetItem();
[Visual Basic]
Public Function GetItem() As TrackedChange

GetItem(Boolean)

Gets the next or the previous change in the textflow. The search begins at the current text input position.

[C#]
public TrackedChange GetItem(bool next);
[Visual Basic]
Public Function GetItem(ByVal next As Boolesn) As TrackedChange
Parameter Description
next

If this parameter is true, the next change in the textflow is returned. If this parameter is false, the previous change in the textflow is returned. The next or the previous change is returned independent whether there is a change at the current text input position.

Return Value

The return value is null, if a change could not be found. Otherwise, it is an object of the type TrackedChange.

See Also