Revisions Interface
TOC
Collapse the table of content
Expand the table of content
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

Revisions Interface

A collection of Revision objects that represent the changes marked with revision marks in a range or document.

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

[GuidAttribute("00020980-0000-0000-C000-000000000046")]
public interface Revisions : IEnumerable

Use the Revisions property of a Document or Range object to return the Revisions collection.

The Add method isn't available for the Revisions collection. Revision objects are added when change tracking is enabled. Set the TrackRevisions property to True to track revisions made to the document text.

Use Revisions(index), where index is the index number, to return a single Revision object. The index number represents the position of the revision in the range or document.

The Count property for this collection in a document returns the number of items in the main story only. To count items in other stories use the collection with the Range object.

Show:
© 2016 Microsoft