ISimulation ObjectGet Property Unit Method
Gets the units of a property.
Definition
Namespace: DWSIM.Interfaces
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
Property units.
Assembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 10.0.0.0
C#
string GetPropertyUnit(
string prop,
IUnitsOfMeasure su = null
)VB
Function GetPropertyUnit (
prop As String,
Optional su As IUnitsOfMeasure = Nothing
) As StringParameters
- prop String
- Property identifier.
- su IUnitsOfMeasure (Optional)
- Units system to use. Null to use the default (SI) system.
Return Value
StringProperty units.
Remarks
More details at https://dwsim.org/wiki/index.php?title=Object_Property_Codes