Table of Contents

Class VBFixedSizeArrayValue

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

A value representing a fixed-size array.

public sealed record VBFixedSizeArrayValue : VBArrayValue, IEquatable<VBTypedValue>, IEquatable<VBArrayValue>, IEquatable<VBFixedSizeArrayValue>
Inheritance
VBFixedSizeArrayValue
Implements
Inherited Members

Constructors

VBFixedSizeArrayValue(IBindingHandle, (int lBound, int uBound)[], VBType?)

Creates a fixed-size array bound to handle (currently inert).

public VBFixedSizeArrayValue(IBindingHandle handle, (int lBound, int uBound)[] dimensions, VBType? itemType = null)

Parameters

handle IBindingHandle
dimensions (int lBound, int uBound)[]
itemType VBType

VBFixedSizeArrayValue((int lBound, int uBound)[], VBType?, Func<VBTypedValue>?, Func<IBindingHandle>?)

Creates a new fixed-size array with the specified declared dimensions.

public VBFixedSizeArrayValue((int lBound, int uBound)[] dimensions, VBType? itemType = null, Func<VBTypedValue>? elementDefault = null, Func<IBindingHandle>? elementCell = null)

Parameters

dimensions (int lBound, int uBound)[]

The lower and upper bound of each dimension.

itemType VBType

The element type; VBVariantType when unspecified.

elementDefault Func<VBTypedValue>

What each element starts as, when it is more than the element type's own default value can say.

elementCell Func<IBindingHandle>

Makes the cell each element is stored in, when the runtime stores elements of itemType in cells of its own (Runtime.Abstract.Execution.IVariableDefaults.ElementCellOf).