ArcObjects Library Reference (Carto)  

IUniqueValueRenderer.ValueCount Property

Number of unique values used to categorize the data.

[Visual Basic .NET]
Public ReadOnly Property ValueCount As Integer
[C#]
public int ValueCount {get;}
[C++]
HRESULT get_ValueCount(
  long* ValueCount
);
[C++]

Parameters

ValueCount [out, retval]   ValueCount is a parameter of type long

Product Availability

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

Description

The number of unique values defined for the renderer.

Remarks

To iterate through all of the renderer values, use the Value property and iterate from index 0 through index ValueCount - 1.

See Also

IUniqueValueRenderer Interface