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


IUniqueValueRenderer.DefaultLabel Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IU > IUniqueValueRenderer Interface > IUniqueValueRenderer.DefaultLabel Property
ArcGIS Developer Help

IUniqueValueRenderer.DefaultLabel Property

Label used for unspecified values.

[Visual Basic .NET]
Public Property DefaultLabel As String
[C#]
public string DefaultLabel {get; set;}
[C++]
HRESULT get_DefaultLabel(
  System.String* Label
);
[C++]
HRESULT put_DefaultLabel(
  BSTR Label
);
[C++]
Parameters
Label [out, retval]

Label 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

DefaultLabel is the label used for the DefaultSymbol in the table of contents.
To change the DefaultLabel for an existing UniqueValueRenderer that is using a DefaultSymbol(has UseDefaultSymbol = True), you must set UseDefaultSymbol = False and then back to True to properly update the renderer's entry in the ArcMap table of contents.

See Also

IUniqueValueRenderer Interface