Table of Contents

Method RejectAllRevisions

Namespace
DocWright.Dom.Revisions
Assembly
DocWright.Dom.dll

RejectAllRevisions(DomNode)

Rejects every tracked change in a subtree: inserted content is removed, an inserted paragraph mark merges its paragraph into the following one, deletions lose their annotations and stay, and formatting changes restore the recorded previous formatting.

public static int RejectAllRevisions(this DomNode node)

Parameters

node DomNode

The subtree root.

Returns

int

The number of revisions applied.

Exceptions

ArgumentNullException

node is null.