Class VBResizableByteArrayValue
A value representing a resizable (dynamically-sized) array containing VBByteValue elements.
public sealed record VBResizableByteArrayValue : VBResizableArrayValue, IEquatable<VBTypedValue>, IEquatable<VBArrayValue>, IEquatable<VBResizableArrayValue>, IEquatable<VBResizableByteArrayValue>
- Inheritance
-
VBResizableByteArrayValue
- Implements
- Inherited Members
- Extension Methods
Remarks
Specifications attach let-coercion semantics (to and from VBStringType) to this specific array type.
Constructors
VBResizableByteArrayValue(IBindingHandle, (int lBound, int uBound)[])
Creates a resizable Byte() array bound to handle (currently inert).
public VBResizableByteArrayValue(IBindingHandle handle, (int lBound, int uBound)[] dimensions)
Parameters
handleIBindingHandledimensions(int lBound, int uBound)[]
VBResizableByteArrayValue((int lBound, int uBound)[], Func<IBindingHandle>?)
Creates a new resizable array containing VBByteValue elements.
public VBResizableByteArrayValue((int lBound, int uBound)[] dimensions, Func<IBindingHandle>? elementCell = null)
Parameters
dimensions(int lBound, int uBound)[]The lower and upper bound of each dimension.
elementCellFunc<IBindingHandle>Makes the cell each element is stored in, when the runtime stores
Byteelements in cells of its own (ElementCellOf(VBType)); null to keep each element in a cell that holds its default value.
Properties
Empty
Gets an empty VBResizableByteArrayValue.
public static VBResizableByteArrayValue Empty { get; }