Checks that the value is a valid value for this property.
Namespace: Autodesk.Revit.DB.VisualAssembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since: 2018.1
Syntax
| C# |
|---|
public bool IsValidValue( XYZ xyz ) |
| Visual Basic |
|---|
Public Function IsValidValue ( _ xyz As XYZ _ ) As Boolean |
| Visual C++ |
|---|
public: bool IsValidValue( XYZ^ xyz ) |
Parameters
- xyz
- Type: Autodesk.Revit.DB..::..XYZ
The value to be checked.
Return Value
True if the value is valid for the property.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | Cannot check validity for a property not being edited in AppearanceAssetEditScope. |