Class DeclaredTypeKinds
The DeclaredTypeKind of a declared type.
public static class DeclaredTypeKinds
- Inheritance
-
DeclaredTypeKinds
- Inherited Members
Methods
Of(VBType?)
The kind of a declared type, and whether it is an array: for an array, the kind of its elements' type (MS-VBAL §2.1).
public static (DeclaredTypeKind? Kind, bool IsArray) Of(VBType? type)
Parameters
typeVBTypeThe declared type of a declaration or of an expression.
Returns
- (DeclaredTypeKind? Kind, bool IsArray)
The kind, and whether the type is an array. The kind is null for no type, the unknown type, and a type no value has: that of a module or a project named as a qualifier, or of a call of a
Sub. TheEmptyandNullliterals are Variant, their declared type (MS-VBAL §3.3.5.2).