HOW TO

Use the IFieldEdit::AliasName property

Last Published: April 25, 2020

Summary

When creating datasets it sometimes appears that the IFieldEdit::AliasName property is being ignored.

The AliasName is only supported by ObjectClasses and FeatureClasses. The AliasName property will not work on a Shapefile or Coverage. No error will be received, the property will just never be set.

Procedure

Tables must be created as an ObjectClass rather than a simple table that is not registered with the GeoDatabase. This is done by specifying a CLSID as an "esriCore.Object" . This CLISD can be used as an argument with the CreateTable method. Following is an example of this process.

  1. Create a UID that will designate an ObjectClass.

    Dim pUID As New UID
    pUID.Value = "esriCore.Object"

  2. Use this UID with the IFeatureWorkSpace::CreateTable method for the CLSID argument.

Article ID:000006168

Software:
  • ArcMap 9 x
  • ArcMap 8 x

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options