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


IObjectClass.AliasName Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  BSTR* 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

Convert part to feature command (Code Files: ConvertPart) | Add a custom menu created in .NET to ArcGIS for Desktop (Code Files: AddShapefile) | Tabbed feature inspector (Code Files: AttachTabbedInspectorExtensionCommand) | Simple point plug-in data source (Code Files: OpenSimplePointDlg) | Executing geoprocessing tools in the background (Code Files: RunGPForm) | Add a traversal result to the map (Code Files: AddTraversalResultsToMap)

.NET Related Topics

Adding a custom menu created in .NET to ArcGIS for Desktop | Adding a plug-in data source programmatically | Adding and working with connectivity rules in a geometric network | Cartographic representations