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

IMapLayerInfo3.DisplayField Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayerInfo3 Interface > IMapLayerInfo3.DisplayField Property
ArcGIS Developer Help

IMapLayerInfo3.DisplayField Property

Primary display field.

[Visual Basic .NET]
Public ReadOnly Property DisplayField As String
public string DisplayField {get;}
HRESULT get_DisplayField(
  System.String* FieldName
FieldName [out, retval]

FieldName is a parameter of type BSTR*

Product Availability

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


When DisplayExpression is used by layer in the source map document, MapServer returns the first field used in the DisplayExpression.

See Also

IMapLayerInfo3 Interface