Material StreamGet Property Unit Method
Returns the display unit string for the given property identifier.
Definition
Namespace: DWSIM.Thermodynamics.Streams
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
Unit string for the property.
Assembly: DWSIM.Thermodynamics (in DWSIM.Thermodynamics.dll) Version: 10.0.0.0
C#
public override string GetPropertyUnit(
string prop,
IUnitsOfMeasure su = null
)VB
Public Overrides Function GetPropertyUnit (
prop As String,
Optional su As IUnitsOfMeasure = Nothing
) As StringParameters
- prop String
- Property identifier string.
- su IUnitsOfMeasure (Optional)
- Unit system; defaults to SI if Nothing.
Return Value
StringUnit string for the property.