This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IU > IUniqueValueRenderer Interface > IUniqueValueRenderer.ValueCount Property (ArcObjects .NET 10.4 SDK) |
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
To iterate through all of the renderer values, use the Value property and iterate from index 0 through index ValueCount - 1.