The Label Expression.
[Visual Basic .NET] Public Property LabelExpression As String
[C#] public string LabelExpression {get; set;}
[C++]
HRESULT get_LabelExpression(
BSTR* LabelExpression
);
[C++]
HRESULT put_LabelExpression(
BSTR LabelExpression
);
[C++]Parameters
LabelExpression [out, retval] LabelExpression is a parameter of type BSTR LabelExpression [in] LabelExpression is a parameter of type BSTR
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Remarks
Please note that LabelExpression either returns a field name or a simple expression set for a layer. A simple expression could be a concatenation of attribute values from two fields, for example first and last name of a parcel owner. MapServer drops any advanced expression set on the layer in the source map document and returns an empty string.