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


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

IModelInfo Interface

Provides access to the model name of the field.

Product Availability

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

When To Use

Object classes and fields in a geodatabase can have between one and three names. The name of the object class or field, which is the same as the name of the table or column in the DBMS in which the objects in the object class are stored, the alias name which the user can set for display purposes in end user applications. The third name is the model name which is a tool for developers of custom objects to use to guarantee the names of objects independent of the true name or alias name.

The ModelInfo interface can be used to get or set the model name for an object class, or a field in an object class in the geodatabase. You can also use the IClassSchemaEdit interface to modify the model names for object classes and fields.

Members

Name Description
Read/write property ModelName The model name of the field.

Classes that implement IModelInfo

Classes Description
CoverageFeatureClassName (esriDataSourcesFile) Maintains ArcInfo Coverage Feature Class information.
FeatureClass Esri Feature Class object.
FeatureClassName Esri Feature Class Name object.
FgdbFeatureClassName (esriDataSourcesGDB) File GeoDatabase Feature Class Name object.
FgdbTableName (esriDataSourcesGDB) File GeoDatabase Table Name object.
Field Esri Field object.
ObjectClass Esri Object Class object.
ObjectClassName Esri Object Class Name object.
RasterCatalog A collection of raster datasets in a Geodatabase table.
RasterCatalogName Esri RasterCatalog Name object.
SchematicDiagramClass (esriSchematic) Schematic diagram class object.
SchematicElementClass (esriSchematic) Schematic element class object.
TableName Esri Table Name object.
TemporalRecordSet (esriTrackingAnalyst) Defines the COM coclass for the TemporalRecordSet COM object.

Remarks

When using the IModelInfo object to alter an object class' or field's model name, you should first acquire an exclusive schema lock using the ISchemaLock interface to be sure that another application or user does not have the class open while you are trying to modify its schema.

You can QI for the IModelInfo interface from the IObjectClass interface to work with an object class' model name, or from IField to work with a field's model name.

Note that IModelInfo is also available on the lightweight TableName object.

See Also

IObjectClass Interface