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


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

IMapServerSublayer2.HasLabels Property

Indicates if the layer has labels to turn on and off.

[Visual Basic .NET]
Public ReadOnly Property HasLabels As Boolean
[C#]
public bool HasLabels {get;}
[C++]
HRESULT get_HasLabels(
  Boolean* HasLabels
);
[C++]
Parameters
HasLabels [out, retval]

HasLabels is a parameter of type bool*

Product Availability

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

See Also

IMapServerSublayer2 Interface