Table of Contents

Class VBLongValue

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

Represents a Long value.

public sealed record VBLongValue : VBNumericTypedValue, IEquatable<VBTypedValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBLongValue, int>, IEquatable<IVBTypedValue<VBLongValue, int>>, INumericValue<VBLongValue>, INumericValue, IEquatable<VBLongValue>
Inheritance
VBLongValue
Implements
Inherited Members

Constructors

VBLongValue(IBindingHandle)

public VBLongValue(IBindingHandle handle)

Parameters

handle IBindingHandle

VBLongValue(int)

public VBLongValue(int value)

Parameters

value int

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

double

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

int

Value

Gets the underlying managed value corresponding to this typed value.

public int Value { get; }

Property Value

int

Methods

Equals(IVBTypedValue<VBLongValue, int>?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(IVBTypedValue<VBLongValue, int>? other)

Parameters

other IVBTypedValue<VBLongValue, int>

An object to compare with this object.

Returns

bool

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