This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARFeature Interface > IARFeature.FieldAliasName Property (ArcObjects .NET 10.5 SDK) |
The alias name of the field.
[Visual Basic .NET] Public Function get_FieldAliasName ( _ ByVal index As Integer _ ) As String
[C#] public string get_FieldAliasName ( int index );
Returns the FieldAliasName of the read only indexed field at the specified index in the ARFeature's field collection. There is always at least one field within the field collection.
The FieldAliasName is typically a more readable version of a FieldName and is often set by the publisher of a Published Map File. For example, the FieldName "POP1990" could have the FieldAliasName "Population 1990".
2019 800A07E3: The feature is invalid and has not been initialized
2020 800A07E4: The specified field parameter is invalid
Use a zero-based index to access FieldAliasName's. For example, to get the FieldAliasName of the first field in the collection, pass an index of 0, and to get the FieldType of the last field in the collection, pass an index of (FieldCount - 1).
In C# use the get_FieldAliasName method, as indexed property accessors are not supported.