Dataset.RemoveLayer
Dataset.RemoveLayer method
Removes the vector layer with specified name.
public virtual void RemoveLayer(string name)
| Parameter | Type | Description |
|---|---|---|
| name | String | Name of the layer |
Exceptions
| exception | condition |
|---|---|
| ArgumentException | No layer with specified name found. |
| NotSupportedException | Layer removing is not supported. |
| IOException | An I/O error occurred. |
| GisException | Error while removing the layer. |
See Also
- class Dataset
- namespace Aspose.Gis
- assembly Aspose.GIS