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


IUniqueValueRenderer.AddReferenceValue Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IUniqueValueRenderer.AddReferenceValue Method

Adds a value to the renderer to be grouped with refValue, which has already been added to the renderer.

[Visual Basic .NET]
Public Sub AddReferenceValue ( _
    ByVal Value As String, _
    ByVal refValue As String _
)
[C#]
public void AddReferenceValue (
    string Value,
    string refValue
);
[C++]
HRESULT AddReferenceValue(
  BSTR Value,
  BSTR refValue
);
[C++]

Parameters Value [in] Value is a parameter of type BSTR refValue [in] refValue is a parameter of type BSTR

Product Availability

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

Description

Adds the specified value to an existing renderer category. Use this method to specify that the Value parameter will be assigned the same symbol as an existing renderer Value, corresponding to the RefVal parameter. In ArcMap values that are drawn with the same symbol are said to be grouped.

See Also

IUniqueValueRenderer Interface