ISimulationObjectGetPropertyUnit Method |
Gets the units of a property.
Namespace: DWSIM.InterfacesAssembly: DWSIM.Interfaces (in DWSIM.Interfaces.dll) Version: 8.8.1.0
Syntax string GetPropertyUnit(
string prop,
IUnitsOfMeasure su = null
)
Function GetPropertyUnit (
prop As String,
Optional su As IUnitsOfMeasure = Nothing
) As String
Request Example
View SourceParameters
- 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
See Also