officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-revision-ad85725b.md
Rejects the current revision.
Namespace : DevExpress.XtraRichEdit.API.Native
Assembly : DevExpress.RichEdit.v25.2.Core.dll
NuGet Package : DevExpress.RichEdit.Core
void Reject()
Sub Reject
Use the RevisionCollection.RejectAll method to reject all revisions in the document or revisions that meet the given criteria.
The following code snippets (auto-collected from DevExpress Examples) contain references to the Reject() method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
word-document-api-use-track-changes/CS/word-processing-document-api-track-changes/Program.cs#L45
foreach (Revision revision in sectionRevisions)
revision.Reject();
winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L56
foreach (Revision revision in sectionRevisions)
revision.Reject();
wpf-richedit-manage-tracked-changes/CS/DXRichEdit_TrackChanges/MainWindow.xaml.cs#L39
foreach (Revision revision in sectionRevisions)
revision.Reject();
word-document-api-use-track-changes/VB/word-processing-document-api-track-changes/Program.vb#L42
For Each revision As Revision In sectionRevisions
revision.Reject()
Next revision
winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L46
For Each revision As Revision In sectionRevisions
revision.Reject()
Next
wpf-richedit-manage-tracked-changes/VB/DXRichEdit_TrackChanges/MainWindow.xaml.vb#L31
For Each revision As Revision In sectionRevisions
revision.Reject()
Next
See Also