A class extension for automatically maintaining geocoded feature classes.
The GeocodedFeatureClassExtension is a feature class extension for geocoded FeatureClasses that are automatically maintained.
Extended Error Information
Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.
|IClassExtension (esriGeoDatabase)||Provides access to members that initialize and shutdown the class extension.|
|IFeatureClassExtension (esriGeoDatabase)||Indicator interface for feature class extensions.|
|IGeocodedFeatureClass||Provides access to members for automatically maintaining a geocoded feature class.|
|IObjectClassExtension (esriGeoDatabase)||Indicator interface for object class extensions.|
|IRelatedObjectClassEvents (esriGeoDatabase)||Provides access to events that occur when related objects are created.|
|ISupportErrorInfo||Indicates whether a specific interface can return Automation error objects.|
When you register a FeatureClass as a geocoded feature class, use the IClassSchemaEdit::AlterClassExtensionCLSID method. With this method, you must specify a PropertySet that contains properties for the feature class extension. The properties that this PropertySet must contain are:
- OriginalAddressFieldNames - The names of the Fields in the related address Table that contain the address attributes; this property is a string that contains the names of the Fields in the same order as specified by the IAddressInputs:AddressFields property.
- UnmatchOnly - A boolean value that indicates that new unmatched Features should be created in the geocoded FeatureClass if new records are added to the address Table.
- UpdateOnEdit - A boolean value that indicates if features in the geocoded FeatureClass should be updated if the corresponding records in the address Table are edited.