Skip to main content
.NET Framework 4.5.2+

RevisionCollection.RejectAll(SubDocument, Predicate<Revision>) Method

Rejects all revisions that meet the specified criteria in the specific SubDocument.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v22.2.Core.dll

NuGet Package: DevExpress.RichEdit.Core


void RejectAll(
    SubDocument subDocument,
    Predicate<Revision> predicate


Name Type Description
subDocument SubDocument

A SubDocument object that is the specific document part (main body, header or footer).

predicate Predicate<Revision>

A Predicate<T> object that defines a set of criteria for the Revision object.


Use the SubDocument.GetSubDocumentType() to determine the type of the current SubDocument.

The following properties allow you to access a SubDocument of a specific document part:

Document Part Property
Main Body RichEditDocumentServer.Document
Header or Footer Section.BeginUpdateHeader
Comment Comment.BeginUpdate
Text Box TextBox.Document
See Also