M

ScheduleDefinition.AddField

Description:
Adds a regular field at the end of the list.
Overloads (3):
AddField(ScheduleFieldType,ElementId)
public ScheduleField AddField(
	ScheduleFieldType fieldType,
	ElementId parameterId
)
  • fieldType
    The type of data displayed by the field.
  • parameterId
    The ID of the parameter displayed by the field.
Return Value ScheduleField The new field.
  • A non-optional argument was null
  • A value passed for an enumeration argument is not a member of that enumeration
  • The field specified by fieldType and parameterId may not included in this ScheduleDefinition. -or- The field specified by fieldType and parameterId is already included in this ScheduleDefinition.