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

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

ArcGIS Pro version: 3 or higher.
See Also