ScheduleDefinition.AddField(ScheduleFieldType)
Method
Description:
Adds a regular field at the end of the list.
Adds a regular field at the end of the list.
Parameters
Parameter | Type | Description |
---|---|---|
fieldType | ScheduleFieldType | The type of data displayed by the field. |
Return Value
Type | Description |
---|---|
ScheduleField | The new field. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | 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. |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |