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


IObjectClass.AliasName Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IO > IObjectClass Interface > IObjectClass.AliasName Property
ArcGIS Developer Help

IObjectClass.AliasName Property

The alias name of the object class.

[Visual Basic .NET]
Public ReadOnly Property AliasName As String
[C#]
public string AliasName {get;}
[C++]
HRESULT get_AliasName(
  System.String* Name
);
[C++]
Parameters
Name [out, retval]

Name is a parameter of type BSTR*

Product Availability

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

Description

Returns the alias 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 AliasName property returns the alias name for the object class. If the object class has no alias name, then AliasName will return the name of the object class (fully qualified if on ArcSDE). The alias name can be modified using the IClassSchemEdit interface.

See Also

IObjectClass Interface | IModelInfo Interface

.NET Samples

Tabbed feature inspector Executing geoprocessing tools in the background Add a traversal result to the map Simple point plug-in data source