public DTE_Commands GetCommands() { EnvDTE.Commands xx = mDte2.Commands; DTE_Commands cmds = new DTE_Commands(this, xx); return(cmds); }
public void EnumerateCommands(DTE_Output InOutput) { DTE_Commands cmds = GetCommands(); int jx = 0; foreach (DTE_Command cmd in cmds) { ++jx; InOutput.WriteLine( "Command " + cmd.Name + " ID:" + cmd.ID.ToString() + " guid:" + cmd.Guid + " jx: " + jx.ToString()); } }