static DuplicatedObject * Create( DOClassID idDOClass, DOID idUserDefinedID );
Name | Description | |
---|---|---|
in | idDOClass | Specifies a duplicated object class ID of the type to create. |
in | idUserDefinedID | Specifies the instance ID of the duplicated object instance to create. |
Creates a local instance of a duplicated object.
Creates a local instance of a duplicated object having the specified duplicated object class ID (DOClassID
) type. Duplicated object class IDs are automatically generated by the Data Definition Language (DDL) file.
Note: These values may change if you rewrite the DDL file and rebuild the program.
In this overloaded function, you can explicitly specify the DOID
of the duplicated object to create. This value is generated by calling the IDGenerator::GenerateID
function. The duplicated object handles of the ID generators for each duplicated object class can be obtained with a function called GetIDGenerator
that is implemented in the source code automatically created by the DDL compiler.
CONFIDENTIAL