Class VBErrorType
A VBIntrinsicType<T> representing the Error data type.
public sealed record VBErrorType : VBIntrinsicType<int>, IEquatable<VBType>, IEquatable<VBIntrinsicType>, IEquatable<VBIntrinsicType<int>>, IEquatable<VBErrorType>
- Inheritance
-
VBErrorType
- 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
VBErrorType()
A VBIntrinsicType<T> representing the Error data type.
public VBErrorType()
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 VBTypedValue 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.
MaxValue
Gets the maximum representable value for this data type.
public static VBErrorValue MaxValue { get; }
Property Value
MaximumStdErrorValue
Gets the maximum value for a standard error code.
public static int MaximumStdErrorValue { get; }
Property Value
MinValue
Gets the minimum representable value for this data type.
public static VBErrorValue MinValue { get; }
Property Value
MinimumStdErrorValue
Gets the minimum value for a standard error code.
public static int MinimumStdErrorValue { get; }
Property Value
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 Error data type.
public static VBErrorType TypeInfo { get; }
Property Value
Zero
Gets the value 0 (zero) representation of this data type.
public static VBErrorValue Zero { get; }