private void fLayer_Initialized(object sender, EventArgs e) { fLayer.UpdateCompleted += new EventHandler(fLayer_UpdateCompleted); fLayer.Update(); } private void fLayer_UpdateCompleted(object sender, EventArgs e) { MessageBox.Show(this.fLayer.Graphics.Count.ToString()); // this is not zero }
... Graphic g = featureLayer.Graphics[idx]; // idx = index in GraphicCollection of FeatureLayer for edit g.Attributes["ATTRIBUTE_NAME"] = NEW_VALUE; ...
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.