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


IMapLayerInfo3.DisplayField Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapLayerInfo3.DisplayField Property

Primary display field.

[Visual Basic .NET]
Public ReadOnly Property DisplayField As String
[C#]
public string DisplayField {get;}
[C++]
HRESULT get_DisplayField(
  BSTR* FieldName
);
[C++]

Parameters FieldName [out, retval] FieldName is a parameter of type BSTR

Product Availability

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

Remarks

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

See Also

IMapLayerInfo3 Interface