## AbstractPath.FromLocalPath method

Creates an [`AbstractPath`](../) that represents a location on the local filesystem.

```csharp
public static AbstractPath FromLocalPath(string path)
```

| Parameter | Type | Description |
| --- | --- | --- |
| path | String | A path on the local filesystem, like `"C:\\file.shp"` or `"D:\\directory\\"`. |

### Return Value

An [`AbstractPath`](../) that represents the location defined by the *path*.

### Exceptions

| exception | condition |
| --- | --- |
| ArgumentNullException | The argument is `null`. |

### See Also

* class [AbstractPath](../)
* namespace [Aspose.Gis](../../abstractpath/)
* assembly [Aspose.GIS](../../../)


