- Contents
DesignerCOM API
II3IDTypes::Add Method
Synopsis
Adds a new type to the type collection.
IDL Function Prototype
HRESULT Add(
[in] BSTR Label,
[in] BSTR Name,
[in] BSTR Module,
[in, optional] BSTR Description,
[in, optional] BSTR RefCountDLLName,
[in, optional] BSTR RefCountAttachFuncName,
[in, optional] BSTR RefCountDetachFuncName,
[out, retval] II3IDType ** theType
);
C/C++ Syntax
HRESULT Add(BSTR Label, BSTR Name, BSTR Module, BSTR Description, BSTR RefCountDLLName, BSTR RefCountAttachFuncName, BSTR RefCountDetachFuncName, II3IDType ** theType);
Parameters
- Label
-
A label for the new data type.
- Name
-
The name of the new data type.
- Module
-
The module name associated with this data type.
- Description
-
Description of this data type.
- RefCountDLLName
-
Refernce Count DLL Name.
- RefCountAttachFuncName
-
The attached reference count function name.
- RefCountDetachFuncName
-
The detached reference count function name.
- theType
-
A new II3IDType object is returned.