Cape Thermo Material WrapperGet Num Phases Method
Returns the number of Phases.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
The number of Phases supported.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
private int GetNumPhases()VB
Private Function GetNumPhases As IntegerReturn Value
Int32The 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
| 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. |