Table of Contents

Class VBTypeDesc

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

A meta-type representing a VBType within the type system.

public sealed record VBTypeDesc : VBType, IEquatable<VBType>, IEquatable<VBTypeDesc>
Inheritance
VBTypeDesc
Implements
Inherited Members

Constructors

VBTypeDesc(string)

A meta-type representing a VBType within the type system.

public VBTypeDesc(string Name)

Parameters

Name string

Properties

DefaultValue

Gets the default value for this data type.

public override VBTypedValue DefaultValue { get; }

Property Value

VBTypedValue

Remarks

⚠️ Derived types must back the implementation of this property with a thread-safe private static readonly Lazy<T>. Failure to do so would lock up the static context initialization of the StaticSymbol symbols.

Size

The size (in bytes) of a value of this type.

public override int Size { get; }

Property Value

int

Remarks

Determines the length of the allocated memory space for a value of this type.

TypeInfo

The VBTypeDesc metadata type.

public static VBTypeDesc TypeInfo { get; }

Property Value

VBTypeDesc