ExpanderGet Property Value Method
Returns the current value of the specified property, converted to the given unit system.
Definition
Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
The property value as an Object, or Nothing if not found.
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 (e.g., "PROP_TU_0" or "AdiabaticHead").
- su IUnitsOfMeasure (Optional)
- The unit system to use for unit conversion; defaults to SI if not provided.
Return Value
ObjectThe property value as an Object, or Nothing if not found.