Commits the started transaction.
Namespace:
C1.Win.XmlEditorAssembly: C1.Win.XmlEditor.2 (in C1.Win.XmlEditor.2.dll)
Syntax
| C# |
|---|
public void CommitTransaction() |
| Visual Basic (Declaration) |
|---|
Public Sub CommitTransaction |
Remarks
If the Document is changed without using transactions, each time any of the
NodeInserted, NodeRemoved and NodeChanged events of the XmlDocument occurs, the control performs
synchronization between XML and MSHTML. Calling BeginTransaction(String) tells the control
it must not synchronized any changes made in XmlDocument until CommitTransaction()()() is called.
The ApplyStyle(String, String) and the RemoveStyle(String, String) methods of the C1TextRange automatically start a transaction, if
it has not been started yet.