ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / MapTool Class / CreateFeatureAsync Method
The template to use to create.
The geometry to use to create.

In This Topic
    CreateFeatureAsync Method
    In This Topic
    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

    ArcGIS Pro version: 3.0 or higher.
    See Also