Table of Contents

Class VBSymbolDescValue

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

A meta-value that represents a resolved Symbol reference — unlike VBMemberDescValue and VBParameterDescValue, not narrowed to a particular symbol hierarchy, for an operation (assignment resolving its lExpression target, chiefly) that needs to carry any kind of resolved symbol through the same VBTypedValue-based operand pipeline an ordinary value flows through.

public record VBSymbolDescValue : VBTypedValue, IEquatable<VBTypedValue>, IEquatable<VBSymbolDescValue>
Inheritance
VBSymbolDescValue
Implements
Inherited Members

Constructors

VBSymbolDescValue(Symbol, VBType?)

A meta-value that represents a resolved Symbol reference — unlike VBMemberDescValue and VBParameterDescValue, not narrowed to a particular symbol hierarchy, for an operation (assignment resolving its lExpression target, chiefly) that needs to carry any kind of resolved symbol through the same VBTypedValue-based operand pipeline an ordinary value flows through.

public VBSymbolDescValue(Symbol Symbol, VBType? DeclaredType = null)

Parameters

Symbol Symbol

The described symbol.

DeclaredType VBType

The type the symbol is assigned as, when it is not its own declared type: a Variant reference parameter bound to a variable of another type is assigned as the variable is (MS-VBAL §5.3.1.11). null for the symbol's own.

Properties

DeclaredType

The type the symbol is assigned as, when it is not its own declared type: a Variant reference parameter bound to a variable of another type is assigned as the variable is (MS-VBAL §5.3.1.11). null for the symbol's own.

public VBType? DeclaredType { get; init; }

Property Value

VBType

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int

Symbol

The described symbol.

public Symbol Symbol { get; init; }

Property Value

Symbol