RVTDocs.com
Namespace: Autodesk.Revit.DB Class: Parameter

Parameter.SetMultiple

Method
Description:
Sets multiple parameters to new values.
Remarks:
This method is provided as a performance optimization. Note that it will throw an exception if any parameter would throw an exception, so validate ahead of time.
Syntax
Parameters
Parameter Type Description
values IList A list of pairs of parameters and their corresponding values.
Return Value
Type Description
List The list of parameters that were not set successfully, if any.
Exceptions
Exception Condition
InvalidOperationException The parameter is read-only.
ArgumentException Value must be a finite number.