This documentation is archived and is not being maintained.

Selection.NextRevision Method

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

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Revision NextRevision(
	ref Object Wrap
)

Parameters

Wrap
Type: System.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.

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.

Show: