## AbstractPath.Delete method

Deletes a file pointed to by this path.

```csharp
public abstract void Delete()
```

### Exceptions

| exception | condition |
| --- | --- |
| InvalidOperationException | The argument points to a directory instead of a file. |

## Remarks

No exception is thrown if the file doesn't exist.

### See Also

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


