Parameters
- id
- The tool's DAML identifier.
Return Value
Returns an awaitable task which, when complete, indicates the tool is fully initialized and ready for use.
// use SetCurrentToolAsync FrameworkApplication.SetCurrentToolAsync("esri_mapping_selectByRectangleTool"); // or use ICommand.Execute ICommand cmd = FrameworkApplication.GetPlugInWrapper("esri_mapping_selectByRectangleTool") as ICommand; if ((cmd != null) && cmd.CanExecute(null)) cmd.Execute(null);
Target Platforms: Windows 11, Windows 10, Windows 8.1