ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data Namespace / Geodatabase Class / ApplyEdits Method / ApplyEdits(Action) Method
Saves the edits undertaken by this delegate to the underlying geodatabase.

In This Topic
    ApplyEdits(Action) Method
    In This Topic
    Executes the action delegate as a single transaction. The transaction either completes successfully or is aborted and rolled back.
    Syntax
    public void ApplyEdits( 
       Action action
    )
    Public Overloads Sub ApplyEdits( _
       ByVal action As Action _
    ) 

    Parameters

    action
    Saves the edits undertaken by this delegate to the underlying geodatabase.
    Exceptions
    ExceptionDescription

    No valid geodatabase has been opened prior to invoking this operation.

    -or-

    The geodatabase is part of an active edit session.

    This operation is not supported in client-server mode.
    action is null.
    A transaction-related exception has occurred.
    A geodatabase-related exception has occurred.
    The exception propagated by the action delegate.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also