Share via


OleCommand.CommandId Property

Definition

Retrieves the ID of the command from within the specified menu group.

public:
 property int CommandId { int get(); };
public int CommandId { get; }
member this.CommandId : int
Public ReadOnly Property CommandId As Integer

Property Value

Returns an integer value representing the command ID.

Applies to