ScheduleDefinition.InsertSortGroupField
Description:
Adds a new sorting/grouping field at the specified position in the list.
Adds a new sorting/grouping field at the specified position in the list.
public void InsertSortGroupField(
ScheduleSortGroupField sortGroupField,
int index
)
-
sortGroupFieldThe sorting/grouping field to add.
-
Int32indexThe index in the list of sorting/grouping fields.
-
The field ID is not the ID of a field in this ScheduleDefinition. -or- The field cannot be used for sorting/grouping.
-
A non-optional argument was null
-
index is not a valid insert position.
-
The resulting sorting/grouping field count would be greater than 4.