ESRI.ArcGIS.Framework.ICommandBars cmdBar = GlobalVars.m_application.Document.CommandBars;
UID uid = new UIDClass();
uid.Value = "{06DD3F57-CF78-41BA-83F4-D13A8679914F}";
ESRI.ArcGIS.Framework.ICommandItem cmdItem = cmdBar.Find(uid, false, false);
if (cmdItem != null)
cmdItem.Execute();
//Update the selected features on the map
ISelectionEvents selEvents = (ISelectionEvents)map;
selEvents.SelectionChanged();
//Refresh the map
pMxDoc.ActiveView.Refresh();