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.Values.Sum(list => list.Count).ToString()); Console.WriteLine("Modifies: " + args.Modifies.Values.Sum(list => list.Count).ToString()); Console.WriteLine("Deletes: " + args.Deletes.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 10, Windows 8.1