Method AcceptAllRevisions
AcceptAllRevisions(DomNode)
Accepts every tracked change in a subtree: insertions lose their annotations and stay, deleted content is removed, a deleted paragraph mark merges its paragraph into the following one, and formatting changes keep the current formatting.
public static int AcceptAllRevisions(this DomNode node)
Parameters
nodeDomNodeThe subtree root.
Returns
- int
The number of revisions applied.
Exceptions
- ArgumentNullException
nodeis null.