Material StreamSet Property Value Method
Sets a stream property by identifier, converting the value from the specified unit system.
Definition
Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
True if the property was set successfully.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public override bool SetPropertyValue(
string prop,
Object propval,
IUnitsOfMeasure su = null
)VB
Public Overrides Function SetPropertyValue (
prop As String,
propval As Object,
Optional su As IUnitsOfMeasure = Nothing
) As BooleanParameters
- prop String
- Property identifier string.
- propval Object
- New property value.
- su IUnitsOfMeasure (Optional)
- Unit system for the supplied value; defaults to SI if Nothing.
Return Value
BooleanTrue if the property was set successfully.