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


IClassBreaksRenderer.Label Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > IClassBreaksRenderer Interface > IClassBreaksRenderer.Label Property
ArcGIS Developer Help

IClassBreaksRenderer.Label Property

Label at the specified index.

[Visual Basic .NET]
Public Function get_Label ( _
    ByVal Index As Integer _
) As String
[Visual Basic .NET]
Public Sub set_Label ( _
    ByVal Index As Integer, _
    ByVal Label As String _
)
[C#]
public string get_Label (
    int Index
);
[C#]
public void set_Label (
    int Index,
    string Label
);
[C++]
HRESULT get_Label(
  long Index,
  System.String* Label
);
[C++]
HRESULT put_Label(
  long Index,
  BSTR Label
);
[C++]
Parameters
Index [in]

Index is a parameter of type long Label [out, retval]
Label is a parameter of type BSTR* Index [in]
Index is a parameter of type long Label [in]
Label is a parameter of type BSTR

Product Availability

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

Description

Label(i) is the label for the ith class. The label appears in the table of contents, on the the layer symbology dialog's symbology tab, and it can appear in layer's legend entry.


Remarks

Breaks, symbols, labels, and descriptions are all indexed the same and match the classes defined for the renderer. The lowest index is 0 and the highest index = BreakCount - 1.

See Also

IClassBreaksRenderer Interface