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

Set

Method
Description:
Sets the parameter to a new integer value.
Remarks:
You should only use this method if the StorageType property reports the type of the parameter as an integer.
Syntax
public bool Set(
	int value
)
Parameters
Parameter Type Description
value System.Int32The new integer value to which the parameter is to be set.
Return Value
Type Description
Autodesk.Revit.Exceptions.InvalidOperationException The Set method will return True if the parameter was successfully set to the new value, otherwise false.
Exceptions
Exception Condition
Autodesk.Revit.Exceptions.InvalidOperationException The parameter is read-only.