Enum ClassInstancing
The instancing mode of a class module (MS-VBAL §5.2.4.1.1): whether projects that reference the class's project see it, and whether
they create its objects with New. A module file states it as two attributes, VB_Exposed and VB_Creatable.
public enum ClassInstancing
Fields
Private = 0Seen by its own project only:
VB_Exposed = False,VB_Creatable = False. A class module's mode when it states none.PublicCreatable = 2Seen and created with
Newby the projects that reference its project:VB_Exposed = True,VB_Creatable = True. Visual Basic 6.0 only: a VBA class module is never creatable from another project.PublicNotCreatable = 1Seen by the projects that reference its project, which hold its objects and do not create them:
VB_Exposed = True,VB_Creatable = False.