Skip to content
sindizzy edited this page Dec 23, 2020 · 3 revisions

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
Clone this wiki locally