Cape Unit BaseRegister Function Method
The function that controls COM registration.
Definition
Namespace: CapeOpen
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static void RegisterFunction(
Type t
)VB
Public Shared Sub RegisterFunction (
t As Type
)Parameters
- t Type
- The type of the class being registered.
Remarks
This function adds the registration keys specified in the CAPE-OPEN Method and
Tools specifications. In particular, it indicates that this unit operation implements
the CAPE-OPEN Unit Operation Category Identification. It also adds the CapeDescription
registry keys using the CapeNameAttribute, CapeDescriptionAttribute, CapeVersionAttributeCapeVendorURLAttribute, CapeHelpURLAttribute,
and CapeAboutAttribute attributes.
Exceptions
| ECapeUnknown | The error to be raised when other error(s), specified for this operation, are not suitable. |