Table of Contents

Class VBParameterDesc

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

A meta-type that describes a VBParameterSymbol.

public record VBParameterDesc : VBType, IEquatable<VBType>, IEquatable<VBParameterDesc>
Inheritance
VBParameterDesc
Implements
Derived
Inherited Members

Constructors

VBParameterDesc(string, bool)

A meta-type that describes a VBParameterSymbol.

public VBParameterDesc(string Name, bool IsByRef)

Parameters

Name string

The identifier name of the parameter.

IsByRef bool

true if the parameter is (or must be) passed by reference.

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.

IsByRef

true if the parameter is (or must be) passed by reference.

public bool IsByRef { get; init; }

Property Value

bool

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.