ArcGIS Pro 2.9 API Reference Guide
CreateFeatureAsync Method

ArcGIS.Desktop.Mapping Namespace > MapTool Class : CreateFeatureAsync Method
The template to use to create.
The geometry to use to create.
Creates a new EditOperation to create a feature using the given template and geometry.
Syntax
protected Task<bool> CreateFeatureAsync( 
   EditingTemplate template,
   Geometry geometry
)
Protected Function CreateFeatureAsync( _
   ByVal template As EditingTemplate, _
   ByVal geometry As Geometry _
) As Task(Of Boolean)

Parameters

template
The template to use to create.
geometry
The geometry to use to create.

Return Value

A Task representing the create operation.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

MapTool Class
MapTool Members