ESRI.ArcGIS.esriSystem.IPropertySet pInPropSet; pInPropSet = new PropertySetClass(); //The error is highlighting new PropertySetClass()
// either: using ESRI.ArcGIS.esriSystem; IPropertySet pInPropSet; pInPropSet = new PropertySetClass(); // or: ESRI.ArcGIS.esriSystem.IPropertySet pInPropSet; pInPropSet = new ESRI.ArcGIS.esriSystem.PropertySetClass();
Have you updated all the project references to be version independent and to replace some of the changed ones to the ArcGIS 10 references? I notice you use the full namespace reference to the library in interface name for the declaration but not for the class name in the constructor, did you declare using on the namespace for the class, are there warnings on these using statements?
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.