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


IClassSchemaEdit.AlterFieldModelName 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.AlterFieldModelName Method
ArcGIS Developer Help

IClassSchemaEdit.AlterFieldModelName Method

The model name of the object class field.

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

FieldName is a parameter of type BSTR ModelName [in]
ModelName is a parameter of type BSTR

Product Availability

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

Description

Alters the model name for a field in the object class.

Remarks

Fields in object classes in a Geodatabase can have between one and three names. The name of the field, which is the same as the name of the field in 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 fields independent of the true name or alias name.

The AlterFieldModelName method sets the model name for a field in the object class. The model name can be returned using the IModelInfo interface.

See Also

IClassSchemaEdit Interface | IModelInfo Interface | IField Interface