Class VBNullType
A VBIntrinsicType<T> representing the Null data type.
public sealed record VBNullType : VBIntrinsicType<int>, IEquatable<VBType>, IEquatable<VBIntrinsicType>, IEquatable<VBIntrinsicType<int>>, IEquatable<VBNullType>
- Inheritance
-
VBNullType
- Implements
- Inherited Members
Remarks
The managed type of a value of this data type is int.
👉 This data type has no declaration semantics and is only indirectly usable as a Variant subtype.
Constructors
VBNullType()
A VBIntrinsicType<T> representing the Null data type.
public VBNullType()
Remarks
The managed type of a value of this data type is int.
👉 This data type has no declaration semantics and is only indirectly usable as a Variant subtype.
Properties
DefaultValue
Gets the default value for this data type.
public override VBNullValue DefaultValue { get; }
Property Value
Remarks
⚠️ Derived types must back the implementation of this property with a thread-safe private static readonly Lazy<T>.
Failure to do so would lock up the static context initialization of the StaticSymbol symbols.
Size
The size (in bytes) of a value of this type.
public override int Size { get; }
Property Value
Remarks
Determines the length of the allocated memory space for a value of this type.
TypeInfo
The Null data type.
public static VBNullType TypeInfo { get; }