## VectorLayer.GeometryType property

Gets the type of the geometry for the layer.

```csharp
public abstract GeometryType GeometryType { get; }
```

### Property Value

The type of the geometry.

### Exceptions

| exception | condition |
| --- | --- |
| InvalidOperationException | is thrown if layer is opened write-only. |

### See Also

* enum [GeometryType](../../../aspose.gis.geometries/geometrytype/)
* class [VectorLayer](../)
* namespace [Aspose.Gis](../../vectorlayer/)
* assembly [Aspose.GIS](../../../)


