PanelScheduleTemplate.IsValidType
Description:
Checks if given type is valid for this panel schedule template element.
Checks if given type is valid for this panel schedule template element.
Remarks:
A type is valid for a panel schedule template element if it is defined by the PanelScheduleType class. Note: PanelScheduleType::Enum::Unknown is not a valid type, it is used for initializing the variable of the PanelScheduleType::Enum.
A type is valid for a panel schedule template element if it is defined by the PanelScheduleType class. Note: PanelScheduleType::Enum::Unknown is not a valid type, it is used for initializing the variable of the PanelScheduleType::Enum.
public static bool IsValidType(
PanelScheduleType panelScheduleType
)
-
panelScheduleTypeThe given type to check.
Return Value
bool
True if panel schedule template can have a type assigned and this type is valid for this element, false otherwise.
-
A value passed for an enumeration argument is not a member of that enumeration