SetValue Method


Sets collection of properties stored in this property list.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2014

Syntax

C#
public void SetValue(
	IList<AssetProperty> value
)
Visual Basic
Public Sub SetValue ( _
	value As IList(Of AssetProperty) _
)
Visual C++
public:
void SetValue(
	IList<AssetProperty^>^ value
)

Parameters

value
Type: System.Collections.GenericIListAssetProperty
An array of properties.

Remarks

All the properties in the list are of the same AssetPropertyType. The AssetPropertyType can only be Integer, Double4, Float or Double, Enumeration.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The input value is invalid for this AssetPropertyList property.
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsInvalidOperationException The asset property is not editable.

See Also