ERROR
When writing MapObjects code with C#, for example:
Code:
MapObjects2.GeoEvent eventPt = new GeoEventClass();
This is not a class that can be created.
Do not use the new keyword to create the class.
Code:
MapObjects2.GeoEvent eventPt;
Get help from ArcGIS experts
Download the Esri Support App