MapWinGIS:Shapefile NumFields
From MapWindow GIS
NumFields
Gets the number of fields in the shapefile attribute table.
VB.NET Usage
ReadOnly Property NumFields() As Integer
Parameters
|
ReturnValue | The number of fields in the shapefile attribute table. |
Sample Code
Private Sub ShapefileNumfields()
Dim sf As New MapWinGIS.Shapefile()
Dim count As Integer
'Get the number of fields in the shapefile attribute table
count = sf.NumFields
End Sub
VB 6 Usage
ReadOnly Property NumFields() As Long
Parameters
|
ReturnValue | The number of fields in the shapefile attribute table. |
Sample Code
Private Sub ShapefileNumfields()
Dim sf As New MapWinGIS.Shapefile
Dim count As Long
'Get the number of fields in the shapefile attribute table
count = sf.NumFields
End Sub
















