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


IStatisticsRequest.GroupByFields Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IS > IStatisticsRequest Interface > IStatisticsRequest.GroupByFields Property
ArcGIS Developer Help

IStatisticsRequest.GroupByFields Property

Comma-separated list of GROUP BY fields.

[Visual Basic .NET]
Public Property GroupByFields As String
[C#]
public string GroupByFields {get; set;}
[C++]
HRESULT get_GroupByFields(
  System.String* GroupByFields
);
[C++]
HRESULT put_GroupByFields(
  BSTR GroupByFields
);
[C++]
Parameters
GroupByFields [out, retval]

GroupByFields is a parameter of type BSTR* GroupByFields [in]
GroupByFields is a parameter of type BSTR

Product Availability

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

Remarks

If GroupByFields is specified, statistics will be calculated separately for each unique attribute value. The output record will contain only one record if no GroupByFields is specified. If one is specified, there will be one record for each GroupByFields value.

See Also

IStatisticsRequest Interface