This document is archived and information here might be outdated. Recommended version. |
Primary display field.
[Visual Basic .NET] Public ReadOnly Property DisplayField As String
[C#] public string DisplayField {get;}
[C++]
HRESULT get_DisplayField(
System.String* FieldName
);
[C++]
Parameters FieldName [out, retval]
FieldName is a parameter of type BSTR*
When DisplayExpression is used by layer in the source map document, MapServer returns the first field used in the DisplayExpression.