| Revit 2019.2 API |
| AssetPropertyList..::..IsValidValue Method |
| AssetPropertyList Class See Also |
Check that value is valid.
Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.2.0.66)
Since:
2018.1
Syntax
| C# |
|---|
public bool IsValidValue( IList<AssetProperty> value ) |
| Visual Basic |
|---|
Public Function IsValidValue ( _ value As IList(Of AssetProperty) _ ) As Boolean |
| Visual C++ |
|---|
public: bool IsValidValue( IList<AssetProperty^>^ value ) |
Parameters
- value
- Type: System.Collections.Generic..::..IList<(Of <(<'AssetProperty>)>)>
The array of properties to validate.
Return Value
Returns true if the array of properties is valid, false otherwise.
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. |