How to use ArcGIS samples
for help on compiling, setting up the debugger, and running the sample.
If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders.
However, you will need to update the sample to point to the location of the data once you have extracted all the files.
Start Visual Studio, open the solution file, and build the project.
Register the sample with ESRIRegAsm.exe.
Start ArcMap and add the Editor toolbar.
Click the Customize menu, click Customize Mode, and click the Commands tab.
Under Categories, scroll down, and click Developer Samples.
Under Commands, select the AddEXTCLSID command, and drag it to an available toolbar.
Click the command, browse to the personal or file geodatabase feature class you want to use, and click Add.
Load the feature class you selected with the AddEXTCLSID command onto the map.
Start an edit session and use the Edit tool to select several features.
Click the Attributes tool on the Editor toolbar. The Attributes dialog box opens. The custom inspector appears in the right-hand window of the Attributes dialog box whenever you inspect features belonging to the customized feature class. The default feature inspector shows for features belonging to any other feature class added to the map.
Click a single feature ID (FID) in the tree view; its properties are reported.
The AddEXTCLSID command is included in the sample to enable testing of the feature inspector on different geodatabase feature classes. This command adds a globally unique identifier (GUID) from the tabbed inspector class to the extension class identifier (EXTCLSID) parameter of the feature class. This is so ArcMap can ensure the objects or feature classes implement the instance and the class extension behavior (use the tabbed inspector instead of the normal inspector). The IClassSchemaEdit interface contains the AlterClassExtensionCLSID method to do this work.