Table of Contents

Class VBResizableArrayValue

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

A value representing a resizable (dynamically-sized) array.

public record VBResizableArrayValue : VBArrayValue, IEquatable<VBTypedValue>, IEquatable<VBArrayValue>, IEquatable<VBResizableArrayValue>
Inheritance
VBResizableArrayValue
Implements
Derived
Inherited Members
Extension Methods

Constructors

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

Creates a resizable array bound to handle (currently inert).

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

Parameters

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

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

Creates a new resizable array containing VBVariantValue elements unless specified otherwise.

public VBResizableArrayValue((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 (ElementCellOf(VBType)).

Properties

Empty

Gets an empty (uninitialized) VBResizableArrayValue.

public static VBResizableArrayValue Empty { get; }

Property Value

VBResizableArrayValue