Class VBCurrencyValue
A VBNumericTypedValue representing a runtime value of the VBCurrencyType data type.
public sealed record VBCurrencyValue : VBNumericTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBCurrencyValue, ManagedCurrencyInteropValue>, IEquatable<IVBTypedValue<VBCurrencyValue, ManagedCurrencyInteropValue>>, INumericValue<VBCurrencyValue>, INumericValue, IEquatable<VBCurrencyValue>
- Inheritance
-
VBCurrencyValue
- Implements
- Inherited Members
Constructors
VBCurrencyValue(Symbol)
A VBNumericTypedValue representing a runtime value of the VBCurrencyType data type.
public VBCurrencyValue(Symbol Symbol)
Parameters
Properties
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 ManagedCurrencyInteropValue Value { get; }
Property Value
Methods
Equals(IVBTypedValue<VBCurrencyValue, ManagedCurrencyInteropValue>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IVBTypedValue<VBCurrencyValue, ManagedCurrencyInteropValue>? other)
Parameters
otherIVBTypedValue<VBCurrencyValue, ManagedCurrencyInteropValue>An object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.