Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.5.2 Assembly / C1.Win.C1Editor Namespace / C1Editor Class / CommitTransaction Method

In This Topic
    CommitTransaction Method
    In This Topic
    Commits the started transaction.
    Syntax
    'Declaration
     
    Public Sub CommitTransaction() 
    public void 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 tells the control it must not synchronized any changes made in XmlDocument until CommitTransaction is called. The C1TextRange.ApplyStyle and the C1TextRange.RemoveStyle methods of the C1TextRange automatically start a transaction, if it has not been started yet.
    See Also