ArcGIS Pro 2.6 API Reference Guide
CommandRefID Property

ArcGIS.Desktop.Framework.Contracts Namespace > ShortCut Class : CommandRefID Property
Gets the command ID associated with this short-cut.
Syntax
public string CommandRefID {get;}
Public ReadOnly Property CommandRefID As String
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

ShortCut Class
ShortCut Members