GoDigram for .NET Framework and .NET Core
Northwoods.Go Namespace / GoUndoManager Class / StartTransaction Method
In This Topic
    StartTransaction Method (GoUndoManager)
    In This Topic
    Begin a transaction, where the changes are held by a GoUndoManagerCompoundEdit.
    Syntax
    public virtual bool StartTransaction()

    Return Value

    true if starting a top-level transaction
    Remarks
    Transactions can be nested: StartTransaction returns true StartTransaction returns false FinishTransaction returns false FinishTransaction returns true Nested transactions will share the same compound edit as the top-level one. This will raise a GoDocument.Changed event for each of the Documents, with a hint of GoDocument.StartedTransaction.
    See Also