Provides access to method that indicates whether an object can bypass the store method. Note: the IObjectClassInfo interface has been superseded byIObjectClassInfo2. Please consider using the more recent version.
Product Availability
Members
Description | ||
---|---|---|
CanBypassStoreMethod | Indicates if updates to objects can bypass the Store method and OnChange notifications for efficiency. |
CoClasses that implement IObjectClassInfo
CoClasses and Classes | Description |
---|---|
FeatureClass | ESRI Feature Class object. |
ObjectClass | ESRI Object Class object. |
RasterCatalog | A collection of raster datasets in a Geodatabase table. |
RouteEventSource (esriLocation) | Route event source object. |
SchematicDiagramClass (esriSchematic) | Schematic diagram class object. |
SchematicElementClass (esriSchematic) | Schematic element class object. |
SchematicInMemoryFeatureClass (esriSchematic) | Schematic in memory feature class object. |
TemporalRecordSet (esriTrackingAnalyst) | Defines the COM coclass for the TemporalRecordSet COM object. |
XYEventSource | XY event source object. |
Remarks
The IObjectClassInfo and IObjectClassInfo2 interfaces provide some additional information to IObjectClass on object classes that may be of interest to some applications.
CanBypassStoreMethod is a convenience method that returns True if the instances of this object class have no custom behavior associated with creating or updating objects and if the object class does not participate in composite relationship classes or in relationship classes that require object notification. A return value of True implies that insert cursors handed out by the geodatabase will internally bypass the CreateRow and Store mechanisms when creating objects. A return value of False indicates that insert cursors will not bypass custom Store or OnChanged behavior implemented by the custom row object for this class.
Several geoprocessing tools (i.e. Calculate Field, Append, and Add Field) use insert cursors. For an extended class with custom behavior defined by the IObjectClassEvents interface to operate correctly with these tools, CanBypassStoreMethod should return false.