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

ExecuteCommand Method (FrameworkApplication)
Obtains a function that can be used to execute the specified command.
Syntax
public static Func<Task> ExecuteCommand( 
   string id
)

Parameters

id
The DAML control identifier.

Return Value

An invocable function.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.0 or higher.
See Also