ICapeThermoPropertyPackageManagerGetPropertyPackage 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)
[DispIdAttribute(2)]
Object GetPropertyPackage(
	string PackageName
)

Parameters

PackageName  String
The name of one of the Property Packages managed by this Property Package Manager component.

Return Value

Object
The 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

ECapeNoImplThe 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.
ECapeFailedInitialisationThis error should be returned if the Property Package cannot be created for any reason.
ECapeInvalidArgumentThis 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.
ECapeUnknownThe error to be raised when other error(s), specified for the GetPropertyPackage operation, are not suitable.

See Also