Add feature

This sample demonstrates how to add a feature from an existing feature class to a new feature class using feature.createFeature() and This sample also shows how to start, end, and save an edit session using the IWorkspaceEdit class. This sample 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. Start Visual Studio.
  2. Run the application. The feature class is updated and the results are written to the console.

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/ Main class.

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