BuildingOperatingDaySchedule.Create
Method
Description:
Creates a new instance of a BuildingOperatingDaySchedule.
Creates a new instance of a BuildingOperatingDaySchedule.
Remarks:
The new BuildingOperatingDaySchedule will have all values set to off.
The new BuildingOperatingDaySchedule will have all values set to off.
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document to create the new BuildingOperatingDaySchedule element. |
name | String | The intended name of the newly created BuildingOperatingDaySchedule, may be modified to disambiguate with existing element. |
Return Value
Type | Description |
---|---|
BuildingOperatingDaySchedule | The newly created BuildingOperatingDaySchedule. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~". -or- name must be trimmed. -or- name is an empty string or contains only whitespace. |
ArgumentNullException | A non-optional argument was null |