Unit Op Base ClassGet Key Property Units Method
Returns the display unit string for a named key property.
Definition
Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
The unit string (e.g. "kW", "kg/h"), or an empty string if not supported.
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
C#
public virtual string GetKeyPropertyUnits(
string prop_name
)VB
Public Overridable Function GetKeyPropertyUnits (
prop_name As String
) As StringParameters
- prop_name String
- The name of the key property whose units are requested.
Return Value
StringThe unit string (e.g. "kW", "kg/h"), or an empty string if not supported.