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


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

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(
  System.Int32* 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