Table of Contents

Class VBArrayValue

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

A VBTypedValue representing a runtime value of the VBArrayType data type.

public abstract record VBArrayValue : VBTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IEquatable<VBArrayValue>
Inheritance
VBArrayValue
Implements
Derived
Inherited Members

Constructors

VBArrayValue(Symbol, (int lBound, int uBound)[], VBType)

Creates a new VBTypedValue representing a runtime value of the VBArrayType data type.

protected VBArrayValue(Symbol symbol, (int lBound, int uBound)[] dimensions, VBType itemType)

Parameters

symbol Symbol

The Symbol associated with this value.

dimensions (int lBound, int uBound)[]

An array of value tuples defining the size of each dimension of this VBArrayValue.

itemType VBType

The data type of the items in this array. Use VBVariantType if the declared data type is unspecified.

Properties

Dimensions

Gets an immutable array of VBArryaDimension each holding a dimensional slice of the array value.

public ImmutableArray<VBArrayValue.VBArrayDimension> Dimensions { get; init; }

Property Value

ImmutableArray<VBArrayValue.VBArrayDimension>

IsInitialized

true if the array value contains any dimensions.

public bool IsInitialized { get; }

Property Value

bool

ItemType

The declared VBType of the items in this array.

public VBType ItemType { get; init; }

Property Value

VBType

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int