VECGetFieldCount()

  VECGetField and VECGetFieldCount

Description

VECGetFieldCount() is used to retrive the number of fields for an indicated vector layer.

Call Signature

int VECGetFieldCount ( int/string filespec, int segment_num )

Return Value

int

The number of fields in the layer.

Arguments

int/string filespec:

This can either be the handle returned by DBOpen(), or the name of an open file.

int segment_num:

The vector layer (segment) number being accessed.

See also

GDB file functions

GDB vector file functions

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.