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


IUniqueValueRenderer.Symbol 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.Symbol Property
ArcGIS Developer Help

IUniqueValueRenderer.Symbol Property

Symbol associated with the specified value.

[Visual Basic .NET]
Public Function get_Symbol ( _
    ByVal Value As String _
) As ISymbol
[Visual Basic .NET]
Public Sub set_Symbol ( _
    ByVal Value As String, _
    ByVal Symbol As ISymbol _
)
[C#]
public ISymbol get_Symbol (
    string Value
);
[C#]
public void set_Symbol (
    string Value,
    ISymbol Symbol
);
[C++]
HRESULT get_Symbol(
  BSTR Value,
  ISymbol** Symbol
);
[C++]
HRESULT put_Symbol(
  BSTR Value,
  ISymbol* Symbol
);
[C++]
Parameters
Value [in]

Value is a parameter of type BSTR Symbol [out, retval]
Symbol is a parameter of type ISymbol** Value [in]
Value is a parameter of type BSTR Symbol [in]
Symbol is a parameter of type ISymbol*

Product Availability

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

Remarks

Use this property to access and/or change the symbol for a value that already exists in the renderer.

When there is no grouping, meaning that each category is defined by a single value-symbol pair, then you can look up the symbol for a given feature by using this property and passing the value. If there is grouping -- meaning that more that one value is associated with the same symbol -- then you need to additionally check to see if the value has a ReferenceValue. If it does, to access symbol that the feature will be drawn with, use this property and pass the ReferenceValue of the value.

See Also

IUniqueValueRenderer Interface