UnitOpBaseClassGetPropertyValue Method

Returns the value of a named property, converting from SI to the current unit system. Falls back to extra properties if the property is not found in the base implementation.

Definition

Namespace: DWSIM.UnitOperations.UnitOperations
Assembly: DWSIM.UnitOperations (in DWSIM.UnitOperations.dll) Version: 10.0.0.0
public override Object GetPropertyValue(
	string prop,
	IUnitsOfMeasure su = null
)

Parameters

prop  String
The property identifier string.
su  IUnitsOfMeasure  (Optional)
Optional units-of-measure system used for conversion; uses the shared SI system when Nothing.

Return Value

Object
The converted property value, or Nothing if the property is not recognised.

See Also