Class VBArrayType
A VBIntrinsicType<T> representing any type of array data type.
public abstract record VBArrayType : VBIntrinsicType<object[]>, IEquatable<VBType>, IEquatable<VBIntrinsicType>, IEquatable<VBIntrinsicType<object[]>>, IEnumerableType, IEquatable<VBArrayType>
- Inheritance
-
VBArrayType
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
The managed type of a value of this data type is object[].
Constructors
VBArrayType(VBType)
A VBIntrinsicType<T> representing any type of array data type.
protected VBArrayType(VBType ItemType)
Parameters
ItemTypeVBType
Remarks
The managed type of a value of this data type is object[].
Properties
DefaultValue
Gets an empty (uninitialized) VBResizableArrayValue.
public override VBTypedValue DefaultValue { get; }
Property Value
ItemType
public VBType ItemType { get; init; }
Property Value
TypeInfo
Gets an instance of the VBResizableArrayType.
public static VBArrayType TypeInfo { get; }
Property Value
Methods
CreateValue(IBindingHandle)
Recovers the VBArrayValue boxed into handle as a
VBRuntimeArrayValue — an array's real storage (its element cells) lives on the
array object itself, not in anything a handle could reconstruct piecemeal, so this unboxes the
original instance rather than building a new one.
public override VBTypedValue CreateValue(IBindingHandle handle)
Parameters
handleIBindingHandle