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

DataStatistics Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Classes > D > DataStatistics Class
ArcGIS Developer Help

DataStatisticsClass Class

Esri Data Statistics object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Interfaces Description
IDataStatistics Provides access to members to generate statistics on a field.


The DataStatistics object allows for the retrieval of statistical and unique value information for a single field.  After creating the DataStatistics object, the data used in the analysis is provided as an ICursor object through the IDataStatistics::Cursor property.  Keep in mind that ICursor objects can only be traversed once.  If you need to get statistical values and unique values, then you will need to recreate the cursor after executing the first request.

See Also

IDataStatistics Interface