adTempus API
ArcanaDevelopment.adTempus.Client Namespace / ObjectBase Class / CommitEdit Method / CommitEdit(Guid) Method
The snapshot ID returned by BeginEdit.


In This Topic
    CommitEdit(Guid) Method
    In This Topic
    Commits the current changes, discarding the latest undo snapshot.
    Syntax
    'Declaration
     
    
    Public Overloads Function CommitEdit( _
       ByVal snapshotID As Guid _
    ) As Boolean
    public bool CommitEdit( 
       Guid snapshotID
    )
    public:
    bool CommitEdit( 
       Guid snapshotID
    ) 

    Parameters

    snapshotID
    The snapshot ID returned by BeginEdit.
    Remarks

    This method commits the changes only if the current snapshot matches the snapshotID. This method can be used instead of CommitEdit to guard against redundant calls to CommitEdit or UndoEdit.

    The changes are committed in memory only. They are not sent to the server until ADTIndependentObject.Save is called on the object or its owner.

    See Also