Class VBFixedSizeArrayValue
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
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.
itemTypeVBTypeThe element type; VBVariantType when unspecified.
elementDefaultFunc<VBTypedValue>What each element starts as, when it is more than the element type's own default value can say.
elementCellFunc<IBindingHandle>Makes the cell each element is stored in, when the runtime stores elements of
itemTypein cells of its own (Runtime.Abstract.Execution.IVariableDefaults.ElementCellOf).