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


IDataStatistics.UniqueValueCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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(
  long* 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