Add Method (GroupCollection)
In This Topic
Adds a new
Group to the collection, along with header and footer sections for the new group.
Syntax
'Declaration
Public Function Add( _
ByVal As System.String, _
ByVal As System.String, _
ByVal As SortEnum _
) As Group
public Group Add(
System.string ,
System.string ,
SortEnum
)
Parameters
- name
- Contains the name of the new group.
- groupBy
- Contains the value of the GroupBy property for the new group.
- sort
- Contains the value of the Sort property for the new group.
Return Value
A reference to the newly added group.
See Also