SetValue Method
Sets collection of properties stored in this property list.

Namespace: Autodesk.Revit.DB.Visual
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.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.Generic..::..IList<(Of <(<'AssetProperty>)>)>
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.Exceptions..::..ArgumentException The input value is invalid for this AssetPropertyList property.
Autodesk.Revit.Exceptions..::..ArgumentNullException A non-optional argument was null
Autodesk.Revit.Exceptions..::..InvalidOperationException The asset property is not editable.

See Also