Table of Contents

Class VBCurrencyValue

Namespace
RDCore.SDK.Model.Values.Intrinsic
Assembly
RDCore.SDK.dll

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

Symbol Symbol

The Symbol associated with this value.

Properties

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int

Value

Gets the underlying managed value corresponding to this typed value.

public ManagedCurrencyInteropValue Value { get; }

Property Value

ManagedCurrencyInteropValue

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

other IVBTypedValue<VBCurrencyValue, ManagedCurrencyInteropValue>

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.