Table of Contents

Class VBErrorValue

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

Represents an Error value.

public sealed record VBErrorValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IVBTypedValue<VBErrorValue, int>, IEquatable<IVBTypedValue<VBErrorValue, int>>, IEquatable<VBErrorValue>
Inheritance
VBErrorValue
Implements
Inherited Members

Constructors

VBErrorValue(Symbol, int)

Represents an Error value.

public VBErrorValue(Symbol Symbol, int Value = 0)

Parameters

Symbol Symbol

The symbol associated with this value.

Value int

The numeric underlying 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.

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int

Symbol

The symbol associated with this value.

public Symbol Symbol { get; init; }

Property Value

Symbol

Value

The numeric underlying value.

public int Value { get; init; }

Property Value

int

Methods

Equals(IVBTypedValue<VBErrorValue, int>?)

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

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

Parameters

other IVBTypedValue<VBErrorValue, 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.