ScheduleDefinition.AddField
Description:
Adds a regular field at the end of the list.
Adds a regular field at the end of the list.
Overloads (3):
public ScheduleField AddField(
ScheduleFieldType fieldType,
ElementId parameterId
)
-
fieldTypeThe type of data displayed by the field.
-
parameterIdThe ID of the parameter displayed by the field.
Return Value
The new field.
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.