Editor for WinForms | ComponentOne
C1.Win.C1Editor.4.5.2 Assembly / C1.Win.C1Editor Namespace / C1Editor Class / BeginTransaction Method
Title of the started transaction.

In This Topic
    BeginTransaction Method
    In This Topic
    Begins a transaction.
    Syntax
    'Declaration
     
    Public Sub BeginTransaction( _
       ByVal title As System.String _
    ) 
    public void BeginTransaction( 
       System.string title
    )

    Parameters

    title
    Title of the started transaction.
    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