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, MemoryAddress>, IEquatable<IVBTypedValue<VBObjectValue, MemoryAddress>>, IEquatable<VBObjectValue>
Inheritance
VBObjectValue
Implements
Derived
Inherited Members

Remarks

The default value of a VBObjectValue is VBNothingValue.

Constructors

VBObjectValue(IBindingHandle)

public VBObjectValue(IBindingHandle handle)

Parameters

handle IBindingHandle

VBObjectValue(MemoryAddress)

public VBObjectValue(MemoryAddress reference)

Parameters

reference MemoryAddress

Properties

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

Property Value

MemoryAddress

Methods

Equals(IVBTypedValue<VBObjectValue, MemoryAddress>?)

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

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

Parameters

other IVBTypedValue<VBObjectValue, MemoryAddress>

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