Table of Contents

Class VBLongPtrValue

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

Represents a LongPtr value.

public sealed record VBLongPtrValue : VBNumericTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IComparable<INumericValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBLongPtrValue, long>, IEquatable<IVBTypedValue<VBLongPtrValue, long>>, INumericValue<VBLongPtrValue>, INumericValue, IEquatable<VBLongPtrValue>
Inheritance
VBLongPtrValue
Implements
Inherited Members

Constructors

VBLongPtrValue(bool, Symbol)

Represents a LongPtr value.

public VBLongPtrValue(bool Is64Bit, Symbol Symbol)

Parameters

Is64Bit bool

Indicates whether the pointer is a 32-bit (false) or 64-bit (true) pointer.

Symbol Symbol

The symbol associated with this value.

Properties

BoxedValue

Gets the boxed (object) underlying managed value.

public override object BoxedValue { get; }

Property Value

object

Remarks

👉 This member is provided as a non-generic convenience for contexts where the type is unknown. Use the generic ITypedValue<T> whenever possible instead.

Is64Bit

Indicates whether the pointer is a 32-bit (false) or 64-bit (true) pointer.

public bool Is64Bit { get; init; }

Property Value

bool

ManagedValue

Gets a managed (.net) internal representation the numeric value. This is always a double.

public override double ManagedValue { get; init; }

Property Value

double

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 long Value { get; }

Property Value

long

Methods

Equals(IVBTypedValue<VBLongPtrValue, long>?)

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

public bool Equals(IVBTypedValue<VBLongPtrValue, long>? other)

Parameters

other IVBTypedValue<VBLongPtrValue, long>

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.