Real ParameterUnit Property
Gets and sets the dimensional unit for the parameter.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
The value of the parameter in SI units.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[BrowsableAttribute(true)]
public string Unit { get; set; }VB
<BrowsableAttribute(true)>
Public Property Unit As String
Get
SetProperty Value
StringThe value of the parameter in SI units.
Remarks
The value is returned in the SI units for the dimensionality of the
parameter. For example, if the parameter was set as 1 atm, the return
value would be 101325 (the value of 1 atm in the SI pressure
unit of Pascals, Pa).
Exceptions
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |
| ECapeInvalidArgument | To be used when an invalid argument value is passed, for example, an unrecognised unit identifier. |