This document is archived and information here might be outdated.  Recommended version.


ICommandItem.Type Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Framework)  

ICommandItem.Type Property

The type of this command item.

[Visual Basic .NET]
Public ReadOnly Property Type As esriCommandTypes
[C#]
public esriCommandTypes Type {get;}

Product Availability

Available with ArcGIS Desktop.

Description

Returns the type of this command item using the esriCommandTypes constants. The command item can be one of the following types:

See Also

ICommandItem Interface | esriCommandTypes Constants

.NET Snippets

Get Toolbar by Name | Get Command on Toolbar by Names