ArcGIS Pro 3.2 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / Module Class / ExecuteCommand Method
The DAML control identifier.

In This Topic
    ExecuteCommand Method (Module)
    In This Topic
    Override this method to allow users to execute DAML commands specified in this module.
    Syntax
    protected internal virtual Func<Task> ExecuteCommand( 
       string id
    )
    Protected Friend Overridable Function ExecuteCommand( _
       ByVal id As String _
    ) As Func(Of Task)

    Parameters

    id
    The DAML control identifier.

    Return Value

    A user defined function that will execute asynchronously when invoked.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also