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

In This Topic
    ExecuteCommand Method (FrameworkApplication)
    In This Topic
    Obtains a function that can be used to execute the specified command.
    Syntax
    public static Func<Task> ExecuteCommand( 
       string id
    )
    Public Shared Function ExecuteCommand( _
       ByVal id As String _
    ) As Func(Of Task)

    Parameters

    id
    The DAML control identifier.

    Return Value

    An invocable function.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3 or higher.
    See Also