Class VBByteValue
A VBNumericTypedValue representing a runtime value of the VBByteType data type.
public sealed record VBByteValue : VBNumericTypedValue, IEquatable<VBTypedValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBByteValue, byte>, IEquatable<IVBTypedValue<VBByteValue, byte>>, INumericValue<VBByteValue>, INumericValue, IEquatable<VBByteValue>
- Inheritance
-
VBByteValue
- Implements
- Inherited Members
Constructors
VBByteValue()
A VBNumericTypedValue representing a runtime value of the VBByteType data type.
public VBByteValue()
VBByteValue(IBindingHandle)
public VBByteValue(IBindingHandle handle)
Parameters
handleIBindingHandle
VBByteValue(byte)
public VBByteValue(byte value)
Parameters
valuebyte
Properties
AsDouble
The value as a managed double. A transitional accessor while the semantic layer still
computes on double for anything numeric — safe against the boxed-primitive cast that a
bare (double)RuntimeValue.BoxedValue would throw.
public override double AsDouble { get; }
Property Value
Remarks
A value of a primitive managed type overrides it with the value itself, which it reads without boxing it.
Size
The allocated size (in bytes) of this value.
public override int Size { get; }
Property Value
Value
Gets the underlying managed value corresponding to this typed value.
public byte Value { get; }
Property Value
Methods
Equals(IVBTypedValue<VBByteValue, byte>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IVBTypedValue<VBByteValue, byte>? other)
Parameters
otherIVBTypedValue<VBByteValue, byte>An object to compare with this object.