Constructs a new GroupBy.
Namespace: Endeca.Navigation.AnalyticsAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.2.0.0 (0.0.0.0)
Syntax
C# |
---|
public GroupBy( string groupingKey ) |
Visual Basic |
---|
Public Sub New ( _ groupingKey As String _ ) |
Visual C++ |
---|
public: GroupBy( String^ groupingKey ) |
Parameters
- groupingKey
- Type: System..::..String
The name of the Endeca property or dimension by which the records will be aggregated.
Remarks
This one-parameter constructor will request
aggregation of records into groups based on the Endeca
property or dimension named groupingKey.
Examples
This code:
performs a leaf-level grouping of records based
on the Endeca dimension named Year.
CopyC#
GroupByList g = new GroupByList(); GroupBy grByYr = new GroupBy("Year"); g.add(grBy);