This method creates a new class definition object. No interfaces are attached to the class.
Set variable = object.CreateClassDef(sObjId, Name, sClsId)
The CreateClassDef method syntax has the following parts.
| Part | Description |
| variable | A variable declared as a ClassDef object. Receives the new class definition. |
| object | An object expression that evaluates to a ReposTypeLib object. |
| sObjId | The object identifier to be used for the new class definition object. The Repository engine will assign an object identifier if you set this parameter to OBJID_NULL. |
| Name | The name of the new class. |
| sClsId | The global identifier by which this class is referenced. |