Edit

Share via


Selection.NextRevision(Object) Method

Definition

Locates and returns the next tracked change as a Revision object.

public Microsoft.Office.Interop.Word.Revision NextRevision (ref object Wrap);
abstract member NextRevision : obj -> Microsoft.Office.Interop.Word.Revision
Public Function NextRevision (Optional ByRef Wrap As Object) As Revision

Parameters

Wrap
Object

Optional Object. True to continue searching for a revision at the beginning of the document when the end of the document is reached. The default value is False.

Returns

Remarks

The changed text becomes the current selection. Use the properties of the resulting Revision object to see what type of change it is, who made it, and so forth. Use the methods of the Revision object to accept or reject the change.

If there are no tracked changes to be found, the current selection remains unchanged.

Applies to