Revit 2025.3 API
Asset |
Checks that the value is a valid value for this property.
Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public bool IsValidValue( Color color )
Public Function IsValidValue ( color As Color ) As Boolean
public: bool IsValidValue( Color^ color )
member IsValidValue : color : Color -> bool
Parameters
- color Color
- The value to be checked.
Return Value
BooleanTrue if the value is valid for the property.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Cannot check validity for a property not being edited in AppearanceAssetEditScope. |
See Also