RevisionCollection

RevisionCollection

Overview

RevisionCollection is a class in Aspose.Words FOSS for .NET. Inherits from: IEnumerable<Revision>.

A collection of Revision objects that represent revisions in the document.

This class provides 5 methods for working with RevisionCollection objects in .NET programs. Available methods include: Accept, AcceptAll, GetEnumerator, Reject, RejectAll. All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package. Properties: Count, Groups.

Properties

NameTypeAccessDescription
CountintReadReturns the number of revisions in the collection.
GroupsRevisionGroupCollectionReadCollection of revision groups.

Methods

SignatureDescription
AcceptAll()Accepts all revisions in this collection.
RejectAll()Rejects all revisions in this collection.
Accept(criteria: IRevisionCriteria)Accepts revisions that match specified criteria.
Reject(criteria: IRevisionCriteria)Rejects revisions that match specified criteria.
GetEnumerator()Returns an enumerator object.

See Also