Query a shapefile


Purpose This sample demonstrates how to open a cursor on a shapefile and print the value of each field for all the records in the shapefile. It uses the following information:

input.data.path—Location to an input dataset
input.data.name—Name of the input dataset


How to use

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

  1. Run the application. Results are displayed in the console window.





Development licensing Deployment licensing
Engine Developer Kit Engine Runtime
ArcView