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


IClassSchemaEdit.AlterFieldAliasName Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IClassSchemaEdit.AlterFieldAliasName Method

The alias name of the object class field.

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

Parameters FieldName [in]
FieldName is a parameter of type BSTR AliasName [in]
AliasName is a parameter of type BSTR

Product Availability

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

Description

Alters the alias 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 AlterFieldAliasName method sets the alias name for a field in the object class. The alias name can be returned using the IField interface.

See Also

IClassSchemaEdit Interface | IField Interface