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

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

IMapLayerInfo2.HasLabels Property

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

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

HasLabels is a parameter of type bool*

Product Availability

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

See Also

IMapLayerInfo2 Interface