CapeThermoMaterialWrapperGetNumCompounds Method

Returns the number of Compounds supported.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
private int GetNumCompounds()

Return Value

Int32
Number 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

ECapeNoImplThe 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.
ECapeUnknownThe error to be raised when other error(s), specified for this operation, are not suitable.
ECapeBadInvOrderThe 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.

See Also