Cape Thermo Material WrapperGet Num Compounds Method
Returns the number of Compounds supported.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Number of Compounds supported.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
private int GetNumCompounds()VB
Private Function GetNumCompounds As IntegerReturn Value
Int32Number of Compounds supported.
Remarks
The number of Compounds returned by this method must be equal to
the number of Compound identifiers that are returned by the GetCompoundList
method of this interface. It must be zero or a positive number.
Exceptions
| ECapeNoImpl | The operation is “not” implemented even if this method can be called for reasons of compatibility with the CAPE-OPEN standards. That is to say that the operation exists, but it is not supported by the current implementation. |
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |
| ECapeBadInvOrder | The error to be raised if the Property Package required the SetMaterial method to be called before calling the GetNumCompounds method. The error would not be raised when the GetNumCompounds method is implemented by a Material Object. |