Display field properties for a feature class


Purpose
This sample displays information about the fields of a feature class. It uses the following information:
  • Location to an input dataset
  • Name of the input dataset

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Run the application. Since this is a command-line application, you can use Ant to run it, you can execute its Java Archive (JAR) file from the command line, or you can use your integrated development environment (IDE) to compile and run it. As with all other samples, this application requires no arguments to run.
  2. This application consumes a source shapefile and prints the shapefile's feature class information, including dataset name, feature type, geometry type, and field metadata.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

geodatabase/DisplayFieldInfo.java Main class.




Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS for Desktop Basic