ISimulationObjectSetPropertyValue Method

Sets the value of a property.

Definition

Namespace: DWSIM.Interfaces
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
bool SetPropertyValue(
	string prop,
	Object propval,
	IUnitsOfMeasure su = null
)

Parameters

prop  String
Property identifier.
propval  Object
Property value to set at the specified units.
su  IUnitsOfMeasure  (Optional)
Units system to use. Null to use the default (SI) system.

Return Value

Boolean

Remarks

More details at https://dwsim.org/wiki/index.php?title=Object_Property_Codes

See Also