ArcObjects Library Reference (Carto)  

IUniqueValueRenderer.Label Property

Label for the specified value.

[Visual Basic .NET]
Public Function get_Label ( _
    ByVal Value As String _
) As String
[Visual Basic .NET]
Public Sub set_Label ( _
    ByVal Value As String, _
    ByVal Label As String _
)
[C#]
public string get_Label (
    string Value
);
[C#]
public void set_Label (
    string Value,
    string Label
);
[C++]
HRESULT get_Label(
  BSTR Value,
  BSTR* Label
);
[C++]
HRESULT put_Label(
  BSTR Value,
  BSTR Label
);
[C++]

Parameters

Value [in]   Value is a parameter of type BSTR Label [out, retval]   Label is a parameter of type BSTR Value [in]   Value is a parameter of type BSTR Label [in]   Label is a parameter of type BSTR

Product Availability

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

Description

The label for the specified value which will appear in the table of contents and legend if applicable.

Remarks

Use this property to specify a label for a specified value. If no label is specified, and values are not grouped, then the label string will match the value string.

See Also

IUniqueValueRenderer Interface