CommandId Property

This property is called to get the command Id (such as menu ID) associated with this plug-in.

Syntax

int commandId [ set; get; ]

Example (Visual C#)

The following Visual C# example implements the CommandId property:

private int _commandId = 0;
public int commandId
{
    get
    {
        return _commandId;
    }
    set
    {
        _commandId = value;
    }
}