2027 Method
Changes 0
M

ScheduleDefinition.InsertFilter

Description:
Adds a new filter at the specified position in the list.
public void InsertFilter(
	ScheduleFilter filter,
	int index
)
  • filter
    The filter to add.
  • Int32
    index
    The index in the list of filters.
  • The field ID is not the ID of a field in this ScheduleDefinition. -or- The field and filter type cannot be used to filter this ScheduleDefinition. -or- The filter value is not valid for the field and filter type.
  • A non-optional argument was null
  • index is not a valid insert position.
  • This ScheduleDefinition does not support filters. -or- The resulting filter count would be greater than 8.