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

In This Topic
    RollbackTransaction Method
    In This Topic
    Rolls back the transaction.
    Syntax
    'Declaration
     
    Public Sub RollbackTransaction() 
    public void RollbackTransaction()
    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