Method of IApplication
Register new command
var pnID = Application.RegisterCommand(pCommandHandler, strShortcut);
pnID = Application.RegisterCommand pCommandHandler, strShortcut
long nID; HRESULT hr = Application.RegisterCommand(pCommandHandler, strShortcut, &nID);