Method Delete
Delete()
Removes the range's nodes from the document. The nodes themselves stay usable and can be re-inserted elsewhere.
public void Delete()
Exceptions
- InvalidOperationException
The range no longer describes a contiguous span of its parent's children.