ValveGet Property Value Method
Returns the value of the specified property, converted to the requested 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 the property is 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
- Property identifier string (e.g., "PROP_VA_0").
- su IUnitsOfMeasure (Optional)
- Unit system to convert the value to; defaults to SI when Nothing.
Return Value
ObjectThe property value as an Object, or Nothing if the property is not found.