M

ScheduleDefinition.InsertField

Description:
Adds a regular field at the specified position in the list.
Overloads (3):
InsertField(ScheduleFieldType,Int32)
public ScheduleField InsertField(
	ScheduleFieldType fieldType,
	int index
)
Return Value The new field. The new field.
  • The field specified by fieldType may not included in this ScheduleDefinition. -or- The field specified by fieldType is already included in this ScheduleDefinition. -or- The fieldType can't be CustomField. To add a CustomField, you should create a Schedulable field and add it.
  • index is not a valid insert position. -or- A value passed for an enumeration argument is not a member of that enumeration