Frequently asked question

Can I use Visual Basic to code my Custom Features and my Custom Object Class Extension?

Last Published: April 25, 2020


There are essentially two types of geodatabase customizations you can model: Custom Features and Custom Object Class Extensions. Custom Features are developed to extend the behavior of the objects in a class, and Custom Class Extensions extend the feature/object class itself.

Aggregation is necessary for the creation of Custom Features. Aggregation is the process of inheriting code from another object, and it is necessary so you can inherit the default feature behavior from the ESRI-supplied feature object and then add your own behavior. The code generation wizard in Visual Studio has no option to create stub code because this language does not support aggregation.

Visual Basic can create Custom Class Extensions; however, because aggregation isn't necessary in this case. If you want to use Visual Basic to create a Custom Class Extension, you won't be able to use the code generation wizard because it can only generate C++ code. Class Extensions are customizations based on the feature/object class itself, such as custom renderers, custom validation, custom property inspectors, and other class level behaviors.

Article ID:000004740

  • ArcMap 8 x
  • ArcMap 9 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options