Table of Contents

Enum ClassInstancing

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.Protocols.dll

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 = 0

Seen by its own project only: VB_Exposed = False, VB_Creatable = False. A class module's mode when it states none.

PublicCreatable = 2

Seen and created with New by 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 = 1

Seen by the projects that reference its project, which hold its objects and do not create them: VB_Exposed = True, VB_Creatable = False.