Method RejectAllRevisions
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
nodeDomNodeThe subtree root.
Returns
- int
The number of revisions applied.
Exceptions
- ArgumentNullException
nodeis null.