Class GroupResult
Inheritance
System.Object
    GroupResult
  Namespace: Syncfusion.Data.Extensions
Assembly: Syncfusion.Data.Portable.dll
Syntax
public class GroupResult : Object
  Constructors
GroupResult()
Declaration
public GroupResult()
  Properties
Count
Gets or sets the total number of items in the group.
Declaration
public int Count { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | The total number of items in the group.  | 
      
Items
Gets or sets the enumerable collection of items in the group.
Declaration
public IEnumerable Items { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.IEnumerable | The enumerable collection of items in the group.  | 
      
Key
Gets or sets the key of the group.
Declaration
public object Key { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Object | The key of the group.  | 
      
SubGroups
Gets or sets the enumerable collection of the sub-groups in the group, if the group contains any sub-groups.
Declaration
public IEnumerable<GroupResult> SubGroups { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerable<GroupResult> | The enumerable collection of the sub-groups in the group.  | 
      
Methods
ToString()
Returns the result of the group, which contains the key and the items count in the group.
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| System.String | The result of the group, which contains the key and the items count in the group.  |