RowsVB - sindizzy/DSW GitHub Wiki
Sample code that demonstrates how to get the number of rows in a feature set.
Imports System.Windows.Forms
Imports DotSpatial.Data
Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fs As New FeatureSet()
fs.FillAttributes()
fs.Open("C:\Temp\roads.shp")
Dim numRows As Double = fs.NumRows()
End Sub