RevisionGroup Class
Represents a group of sequential Revision objects.
Inheritance Hierarchy

Namespace: Aspose.Words
Assembly: Aspose.Words (in Aspose.Words.dll) Version: 19.9
public class RevisionGroup

The RevisionGroup type exposes the following members.

Public propertyCode exampleAuthor
Gets the author of this revision group.
Public propertyCode exampleRevisionType
Gets the type of revisions included in this group.
Public propertyCode exampleText
Returns inserted/deleted/moved text or description of format change.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Shows how to get info about a set of revisions in document.

Document doc = new Document(MyDir + "Document.Revisions.docx");

Console.WriteLine("Revision groups count: {0}\n", doc.Revisions.Groups.Count);

// Get info about all of revisions in document
foreach (RevisionGroup group in doc.Revisions.Groups)
    Console.WriteLine("Revision author: {0}; Revision type: {1} \nRevision text: {2}", group.Author,
        group.RevisionType, group.RevisionType);
See Also