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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.2.1 - 200.6 |
Xamarin.Android | 100.2.1 - 100.15 |
Xamarin.iOS | 100.2.1 - 100.15 |
UWP | 100.2.1 - 200.6 |
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.