Table of Contents

Class VBArrayType

Namespace
RDCore.SDK.Model.Types
Assembly
RDCore.SDK.dll

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

ItemType VBType

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

VBTypedValue

ItemType

public VBType ItemType { get; init; }

Property Value

VBType

TypeInfo

Gets an instance of the VBResizableArrayType.

public static VBArrayType TypeInfo { get; }

Property Value

VBArrayType

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

handle IBindingHandle

Returns

VBTypedValue