ScheduleDefinition.InsertField
Description:
Adds a regular field at the specified position in the list.
Adds a regular field at the specified position in the list.
Overloads (3):
InsertField(SchedulableField,Int32)
public ScheduleField InsertField(
SchedulableField schedulableField,
int index
)
-
schedulableFieldA SchedulableField object representing the field.
-
Int32indexThe index in the list of fields.
Return Value
The new field.
The new field.
-
The field specified by schedulableField may not included in this ScheduleDefinition. -or- The field specified by schedulableField is already included in this ScheduleDefinition.
-
A non-optional argument was null
-
index is not a valid insert position.