Loads data into an existing object class.
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.
|IConnectionPointContainer||Supports connection points for connectable objects.|
|IObjectLoader||Provides access to members that are used to load an object to an existing featureclass or table.|
|IObjectLoader2||Provides access to members that are used to load an object to an existing featureclass or table.|
|ISupportErrorInfo||Indicates whether a specific interface can return Automation error objects.|
|IFeatureProgress (default)||Provides access to members used to handle events from converting featureclass/table.|
ObjectLoader corresponds to the ArcMap object loader, which can be used in an edit session to import data into an existing feature class.
Some other objects and interfaces are useful in support of ObjectLoader and perform the following functions:
- Check for potential problems in your field names with IFieldChecker
- Inspect data that is rejected during the conversion process with IEnumInvalidObject
- Keep the end user informed with IFeatureProgress
Working with Events
When working with ObjectLoader's default outbound interface in Visual Basic 6 declare variables as follows:
Private WithEvents pObjectLoader as ObjectLoader