ICape Thermo Calculation RoutineProp Check Method
Check a property is valid
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
The array of booleans for each property. A System.Object containing an System.Boolean (marshalled as VT_BOOL) array marshalled as a COM Object.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
Object PropCheck(
Object materialObject,
Object props
)VB
Function PropCheck (
materialObject As Object,
props As Object
) As ObjectParameters
- materialObject Object
- The MaterialObject for the Calculation.
- props Object
- List of Properties to check. A System.Object containing a String array marshalled as a COM Object.
Return Value
ObjectThe array of booleans for each property. A System.Object containing an System.Boolean (marshalled as VT_BOOL) array marshalled as a COM Object.
Remarks
Check to see if properties can be calculated.
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 Compound identifier or UNDEFINED for the props argument. |