This document is archived and information here might be outdated.  Recommended version.


IObjectClassInfo Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IO > IObjectClassInfo Interface
ArcGIS Developer Help

IObjectClassInfo Interface

Provides access to method that indicates whether an object can bypass the store method. Note: the IObjectClassInfo interface has been superseded by IObjectClassInfo2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Name Description
Method CanBypassStoreMethod Indicates if updates to objects can bypass the Store method and OnChange notifications for efficiency.

Classes that implement IObjectClassInfo

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.

See Also

IObjectClass Interface | IWorkspaceEdit Interface | IWorkspaceEditControl Interface