ScheduleDefinitionAddField(SchedulableField) Method |
Adds a regular field at the end of the list.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntaxpublic ScheduleField AddField(
SchedulableField schedulableField
)
Public Function AddField (
schedulableField As SchedulableField
) As ScheduleField
public:
ScheduleField^ AddField(
SchedulableField^ schedulableField
)
member AddField :
schedulableField : SchedulableField -> ScheduleField
Parameters
- schedulableField SchedulableField
-
A SchedulableField object representing the field.
Return Value
ScheduleField
The new field.
ExceptionsException | Condition |
---|
ArgumentException |
The field specified by schedulableField may not included in this ScheduleDefinition.
-or-
The field specified by schedulableField is already included in this ScheduleDefinition.
|
ArgumentNullException |
A non-optional argument was null
|
See Also