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 with await
FrameworkApplication.SetCurrentToolAsync("esri_mapping_selectByRectangleTool").Wait();
// or use ICommand.Execute
if (FrameworkApplication.GetPlugInWrapper("esri_mapping_selectByRectangleTool") is ICommand cmd && cmd.CanExecute(null))
cmd.Execute(null);
}
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)