Unit Op Base ClassGet Property Value Method
Returns the value of a named property, converting from SI to the current unit system.
Falls back to extra properties if the property is not found in the base implementation.
Definition
Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
The converted property value, or Nothing if the property is not recognised.
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
public override Object GetPropertyValue(
string prop,
IUnitsOfMeasure su = null
)VB
Public Overrides Function GetPropertyValue (
prop As String,
Optional su As IUnitsOfMeasure = Nothing
) As ObjectParameters
- prop String
- The property identifier string.
- su IUnitsOfMeasure (Optional)
- Optional units-of-measure system used for conversion; uses the shared SI system when Nothing.
Return Value
ObjectThe converted property value, or Nothing if the property is not recognised.