Table of Contents

Class VBObjectValue

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

Represents a VBObjectType value, i.e. an object reference.

public record VBObjectValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IVBTypedValue<VBObjectValue, int>, IEquatable<IVBTypedValue<VBObjectValue, int>>, IEquatable<VBObjectValue>
Inheritance
VBObjectValue
Implements
Derived
Inherited Members

Remarks

The default value of a VBObjectValue is VBNothingValue.

Constructors

VBObjectValue(Symbol)

public VBObjectValue(Symbol symbol)

Parameters

symbol Symbol

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.

Nothing

public static VBObjectValue Nothing { get; }

Property Value

VBObjectValue

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; init; }

Property Value

int

Methods

Equals(IVBTypedValue<VBObjectValue, int>?)

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

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

Parameters

other IVBTypedValue<VBObjectValue, int>

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.

IsNothing()

public bool IsNothing()

Returns

bool