Here I executed the save edit command programmatically

      pUid.Value = "{59D2AFD2-9EA2-11D1-9165-0080C718DF97}"   'save edits
      pCmdItem = pApp.Document.CommandBars.Find(pUid)

How do I execute the addbasemap command programmatically in ArcObjects.NET?

1 Answer 1


Here is the page to get the latest class ID. It is located in the help files under ArcObject help for .NET developers / Developing with ArcGIS / Learning ArcObjects / General ArcObjects references / Names and IDs / ArcMap commands

The Add Basemap command ID is {76B26001-63CF-4CAC-A7E0-91CEE8686FAC}


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.