// Get the name of the ObjectID field. objectID = relatesLayer.LayerInfo.ObjectIdField; // get key value Object v = inputFeature.Attributes[objectID]; // v is empty
// Get the name of the ObjectID field. objectID = relatesLayer.LayerInfo.ObjectIdField; string objectIDAlias = getFieldAlias(relatesLayer, objectID); if(objectIDAlias != "") objectID = objectIDAlias; // because of bug? in Graphic.Attributes[fieldname]; // get key value Object v = inputFeature.Attributes[objectID]; // v have id value
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.