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


IClassSchemaEdit.AlterModelName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > IClassSchemaEdit Interface > IClassSchemaEdit.AlterModelName Method
ArcGIS Developer Help

IClassSchemaEdit.AlterModelName Method

The model name of the object class.

[Visual Basic .NET]
Public Sub AlterModelName ( _
    ByVal Name As String _
)
[C#]
public void AlterModelName (
    string Name
);
[C++]
HRESULT AlterModelName(
  BSTR Name
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR

Product Availability

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

Description

Alters the model name for the object class.

Remarks

Object classes in a Geodatabase can have between one and three names. The name of the object class, which is the same as the name of the table 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 AlterModelName method sets the model name for the object class. The model name can be returned using the IModelInfo interface.

See Also

IClassSchemaEdit Interface | IModelInfo Interface