public sealed class EditCompletedEvent : ArcGIS.Core.Events.AsyncPresentationEvent<EditCompletedEventArgs>
Public NotInheritable Class EditCompletedEvent Inherits ArcGIS.Core.Events.AsyncPresentationEvent(Of EditCompletedEventArgs)
public sealed class EditCompletedEvent : ArcGIS.Core.Events.AsyncPresentationEvent<EditCompletedEventArgs>
Public NotInheritable Class EditCompletedEvent Inherits ArcGIS.Core.Events.AsyncPresentationEvent(Of EditCompletedEventArgs)
protected void subEditEvents() { //subscribe to editcompleted var eceToken = EditCompletedEvent.Subscribe(onEce); } protected Task onEce(EditCompletedEventArgs args) { //show number of edits Console.WriteLine("Creates: " + args.Creates.ToDictionary().Values.Sum(list => list.Count).ToString()); Console.WriteLine("Modifies: " + args.Modifies.ToDictionary().Values.Sum(list => list.Count).ToString()); Console.WriteLine("Deletes: " + args.Deletes.ToDictionary().Values.Sum(list => list.Count).ToString()); return Task.FromResult(0); }
System.Object
ArcGIS.Core.Events.EventBase
ArcGIS.Core.Events.AsyncPresentationEvent<TPayload>
ArcGIS.Desktop.Editing.Events.EditCompletedEvent
Target Platforms: Windows 11, Windows 10