Show / Hide Table of Contents

Method OpenAsync

OpenAsync(String)

Creates and initializes a ShapefileFeatureTable from a file path.

Declaration
public static async Task<ShapefileFeatureTable> OpenAsync(string shapefilePath)
Parameters
Type Name Description
System.String shapefilePath

Path to the *.shp shape file.

Returns
Type Description
System.Threading.Tasks.Task<ShapefileFeatureTable>

A task that represents the asynchronous open operation. The value of the task result is a ShapefileFeatureTable object.

Remarks

When creating a shapefile feature table, the shapefilePath must point to the *.shp file and the associated *.shx and *.dbf files must be present at the same location.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.2.1 - 200.7
Xamarin.Android100.2.1 - 100.15
Xamarin.iOS100.2.1 - 100.15
UWP100.2.1 - 200.7
Relevant samples
Feature layer (shapefile): Open a shapefile stored on the device and display it as a feature layer with default symbology.
Read shapefile metadata: Read a shapefile and display its metadata.
In This Article
Back to top Copyright © 2022 Esri.