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


IDataStatistics.UniqueValueCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > ID > IDataStatistics Interface > IDataStatistics.UniqueValueCount Property
ArcGIS Developer Help

IDataStatistics.UniqueValueCount Property

The number of unique values for the current sample.

[Visual Basic .NET]
Public ReadOnly Property UniqueValueCount As Integer
[C#]
public int UniqueValueCount {get;}
[C++]
HRESULT get_UniqueValueCount(
  System.Int32* Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long*

Product Availability

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

Remarks

The UniqueValues property must be accessed prior to getting this property (in order to calculate the count) for a correct value to be returned.

See Also

IDataStatistics Interface