ArcGIS Pro 3.0 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, Windows 8.1

    See Also