ICape Thermo Property Package ManagerGet Property Package Method
Creates a new instance of a Property Package with the configuration
specified by the PackageName argument.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
The ICapeThermoPropertyRoutine interface of the named Property Package.
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
[DispIdAttribute(2)]
Object GetPropertyPackage(
string PackageName
)VB
<DispIdAttribute(2)>
Function GetPropertyPackage (
PackageName As String
) As ObjectParameters
- PackageName String
- The name of one of the Property Packages managed by this Property Package Manager component.
Return Value
ObjectThe ICapeThermoPropertyRoutine interface of the named Property Package.
Remarks
The Property Package Manager is only an indirect mechanism to create Property Packages.
After the Property Package has been created, the Property Package Manager instance can be destroyed, and this will not affect the normal behaviour of the Property Packages.
Exceptions
| ECapeNoImpl | The operation GetPropertyPackage 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. |
| ECapeFailedInitialisation | This error should be returned if the Property Package cannot be created for any reason. |
| ECapeInvalidArgument | This error will be returned if the name of the Property Package asked for does not belong to the list of recognised names. Comparison of names is not case sensitive. |
| ECapeUnknown | The error to be raised when other error(s), specified for the GetPropertyPackage operation, are not suitable. |