## VectorLayer.Count property

Gets the number of features in this layer.

```csharp
public virtual int Count { get; }
```

### Property Value

The number of features in this layer.

### Exceptions

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

### See Also

* class [VectorLayer](../)
* namespace [Aspose.Gis](../../vectorlayer/)
* assembly [Aspose.GIS](../../../)


