ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Desktop.Framework Namespace / IPlugInWrapper Interface / CommandType Property
Example

In This Topic
    CommandType Property
    In This Topic
    Gets the type of plug-in.
    Syntax
    ReadOnly Property CommandType As CommandType
    CommandType CommandType {get;}
    Example
    Programmatically start Edit Annotation
    // programmatically activates the Edit Annotation tool by invoking the corresponding
    // plugin. The tool must be enabled for the operation to succeed.
    {
      var plugin = FrameworkApplication.GetPlugInWrapper("esri_editing_EditVerticesText");
      if (plugin.Enabled)
        ((ICommand)plugin).Execute(null);
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also