IsValidValue Method


Check that value is valid.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
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.GenericIListAssetProperty
The array of properties to validate.

Return Value

Returns true if the array of properties is valid, false otherwise.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsInvalidOperationException Cannot check validity for a property not being edited in AppearanceAssetEditScope.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →