Unit Op Base ClassSet Key Property Value Method
Sets the value of a named key property, converting from the supplied units to SI internally.
Definition
Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
An Exception if the operation failed, or Nothing on success.
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
public virtual Exception SetKeyPropertyValue(
string prop_name,
double prop_value,
string prop_units
)VB
Public Overridable Function SetKeyPropertyValue (
prop_name As String,
prop_value As Double,
prop_units As String
) As ExceptionParameters
- prop_name String
- The name of the key property to set.
- prop_value Double
- The new value expressed in prop_units.
- prop_units String
- The unit string corresponding to prop_value.
Return Value
ExceptionAn Exception if the operation failed, or Nothing on success.