MapWinGIS:Shapefile NumFields

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

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

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Shapefile_NumFields"

This page has been accessed 1,816 times. This page was last modified on 9 November 2005, at 18:22.