Current Property (EditingTemplate)
Gets the currently active
EditingTemplate.
Create a feature using the current template
var myTemplate = ArcGIS.Desktop.Editing.Templates.EditingTemplate.Current;
//Create edit operation and execute
var op = new ArcGIS.Desktop.Editing.EditOperation();
op.Name = "Create my feature";
op.Create(myTemplate, geometry);
op.Execute();
Current template
EditingTemplate template = EditingTemplate.Current;
Target Platforms: Windows 11, Windows 10, Windows 8.1
ArcGIS Pro version: 2.0 or higher.