Back to Devexpress

Revision.Reject() Method

officefileapi-devexpress-dot-xtrarichedit-dot-api-dot-native-dot-revision-ad85725b.md

latest3.7 KB
Original Source

Revision.Reject() Method

Rejects the current revision.

Namespace : DevExpress.XtraRichEdit.API.Native

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

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
void Reject()
vb
Sub Reject

Remarks

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

csharp
foreach (Revision revision in sectionRevisions)
        revision.Reject();

winforms-rich-edit-manage-tracked-changes/CS/XtraRichEdit_TrackChanges/Form1.cs#L56

csharp
foreach (Revision revision in sectionRevisions)
    revision.Reject();

wpf-richedit-manage-tracked-changes/CS/DXRichEdit_TrackChanges/MainWindow.xaml.cs#L39

csharp
foreach (Revision revision in sectionRevisions)
    revision.Reject();

word-document-api-use-track-changes/VB/word-processing-document-api-track-changes/Program.vb#L42

vb
For Each revision As Revision In sectionRevisions
        revision.Reject()
Next revision

winforms-rich-edit-manage-tracked-changes/VB/XtraRichEdit_TrackChanges/Form1.vb#L46

vb
For Each revision As Revision In sectionRevisions
    revision.Reject()
Next

wpf-richedit-manage-tracked-changes/VB/DXRichEdit_TrackChanges/MainWindow.xaml.vb#L31

vb
For Each revision As Revision In sectionRevisions
    revision.Reject()
Next

See Also

Revision Interface

Revision Members

DevExpress.XtraRichEdit.API.Native Namespace