ICapeThermoPhasesGetNumPhases Method

Returns the number of Phases.

Definition

Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[DispIdAttribute(1)]
int GetNumPhases()

Return Value

Int32
The number of Phases supported.

Remarks

The number of Phases returned by this method must be equal to the number of Phase labels that are returned by the GetPhaseList 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.

See Also