Revision Revision Revision Interface

Definition

Represents a change marked with a revision mark.

public interface class Revision
[System.Runtime.InteropServices.Guid("00020981-0000-0000-C000-000000000046")]
public interface Revision
Public Interface Revision
Attributes

Remarks

The Revision object is a member of the Revisions collection. The Revisions collection includes all the revision marks in a range or document.

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 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.

Properties

Application Application Application

Returns a Application object that represents the Microsoft Word application.

Author Author Author

Returns the name of the user who made the specified tracked change.

Cells Cells Cells

Returns a Cells collection that represents the table cells that have been marked with revision marks. Read-only.

Creator Creator Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Date Date Date

The date and time that the tracked change was made.

FormatDescription FormatDescription FormatDescription

Returns a String representing a description of tracked formatting changes in a revision.

Index Index Index

Returns an Integer that represents the position of an item in a collection.

MovedRange MovedRange MovedRange

Returns a Range object that represents a range of text that was moved from one place to another in a document with tracked changes. Read-only.

Parent Parent Parent

Returns an object that represents the parent object of the specified object.

Range Range Range

Returns a Range object that represents the portion of a document that's contained in the specified object.

Style Style Style

Returns a Style object that represents the style associated with the current author for revisions.

Type Type Type

Returns the revision type.

Methods

Accept() Accept() Accept()

Accepts the specified tracked change. The revision marks are removed, and the change is incorporated into the document.

Reject() Reject() Reject()

Rejects the specified tracked change. The revision marks are removed, leaving the original text intact.

Applies to