Class VBDoubleValue
Represents a Double value.
public sealed record VBDoubleValue : VBNumericTypedValue, IEquatable<VBTypedValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBDoubleValue, double>, IEquatable<IVBTypedValue<VBDoubleValue, double>>, INumericValue<VBDoubleValue>, INumericValue, IEquatable<VBDoubleValue>
- Inheritance
-
VBDoubleValue
- Implements
- Inherited Members
Constructors
VBDoubleValue(IBindingHandle)
public VBDoubleValue(IBindingHandle handle)
Parameters
handleIBindingHandle
VBDoubleValue(double)
public VBDoubleValue(double value)
Parameters
valuedouble
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 double Value { get; }
Property Value
Methods
Equals(IVBTypedValue<VBDoubleValue, double>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IVBTypedValue<VBDoubleValue, double>? other)
Parameters
otherIVBTypedValue<VBDoubleValue, double>An object to compare with this object.