ScheduleDefinition.RemoveField(ScheduleFieldId) Method

ScheduleDefinitionRemoveField(ScheduleFieldId) Method

Removes a field.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void RemoveField(
	ScheduleFieldId fieldId
)
Public Sub RemoveField ( 
	fieldId As ScheduleFieldId
)
public:
void RemoveField(
	ScheduleFieldId^ fieldId
)
member RemoveField : 
        fieldId : ScheduleFieldId -> unit 

Parameters

fieldId  ScheduleFieldId
The ID of the field to remove.
Exceptions
ExceptionCondition
ArgumentException fieldId is not the ID of a field in this ScheduleDefinition.
ArgumentNullException A non-optional argument was null
See Also