ISimulationObjectSetPropertyValue Method |
Sets the value of a property.
Namespace: DWSIM.InterfacesAssembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 8.8.1.0
Syntax bool SetPropertyValue(
string prop,
Object propval,
IUnitsOfMeasure su = null
)
Function SetPropertyValue (
prop As String,
propval As Object,
Optional su As IUnitsOfMeasure = Nothing
) As Boolean
Request Example
View SourceParameters
- 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
BooleanRemarks More details at https://dwsim.org/wiki/index.php?title=Object_Property_Codes
See Also