AnsweredAssumed Answered

IFeatureLayer.DisplayField incorrect

Question asked by andek on Apr 16, 2015
Latest reply on Apr 17, 2015 by andek



I'm using ArcObjects in C# .NET to create an ArcMap add-in for ArcGIS 10.2.1. I add the attached shape file as a layer to a document in ArcMap, enable Labels and set its Display Field to different fields, e.g. DETALJTYP. But the only field name that I can get programmatically from IFeatureLayer.DisplayField is EXTERNID, and I can't see why? It works fine with other layers. Any idea what's going on?



Andreas Ekstrand