Enum DeclaredTypeKind
The kind of the declared type of a declaration or of an expression (MS-VBAL §2.1, §5.2.3.1.4): what a value of it is, which decides how it is assigned and what it holds before it is (Of(VBType?)).
public enum DeclaredTypeKind
Fields
Class = 3A specific class, of the workspace or of a library, or an interface: a reference to an object of it, assigned with
Set, andNothinguntil it is, unless it is declaredAs New(MS-VBAL §2.5.1).Enum = 5An
Enum(MS-VBAL §5.2.3.4), whose values areLong: let-assigned, and0until it is.Intrinsic = 0A type of the language other than
VariantandObject: a number,Boolean,Date, aStringof either length, or a pointer-sized integer (LongPtr). It is let-assigned, and holds its type's default value until it is (MS-VBAL §2.3).Object = 2Object: a reference to an object of any class, bound late, assigned withSet, andNothinguntil it is.UserDefinedType = 4A user-defined type (
Type, MS-VBAL §5.2.3.3): a record that holds its fields, each assigned on its own or the record whole.Variant = 1Variant, which can hold a value of any type, an object, or none (Empty).