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 8 x
  • ArcMap 9 x

Get support with AI

Resolve your issue quickly with the Esri Support AI Chatbot.

Start chatting now

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Start chatting now

Go to download options