Field.CompatibleDisplayUnitType
Description:
Checks if the specified type is compatible with the field description.
Checks if the specified type is compatible with the field description.
[ObsoleteAttribute("This method is deprecated in Revit 2021 and may be removed in a future version of Revit. Please use the `CompatibleUnit(ForgeTypeId)` method instead.")]
public bool CompatibleDisplayUnitType(
DisplayUnitType type
)
-
typeThe type to check.
Return Value
bool
True if the type is compatible, false otherwise.
-
A value passed for an enumeration argument is not a member of that enumeration