Table of Contents

Class VBRuntimeVariantValue

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

Wraps a VBVariantValue's own wrapped VBTypedValue for storage inside an IRuntimeValue, so a Variant round-trips through ISessionStorage like any other value — the same pattern VBRuntimeArrayValue uses for an array.

public sealed record VBRuntimeVariantValue : IRuntimeValue, IEquatable<VBRuntimeVariantValue>
Inheritance
VBRuntimeVariantValue
Implements
Inherited Members

Constructors

VBRuntimeVariantValue(VBVarType, VBTypedValue)

Wraps a VBVariantValue's own wrapped VBTypedValue for storage inside an IRuntimeValue, so a Variant round-trips through ISessionStorage like any other value — the same pattern VBRuntimeArrayValue uses for an array.

public VBRuntimeVariantValue(VBVarType ValueType, VBTypedValue WrappedValue)

Parameters

ValueType VBVarType

The variant's own VBVarType tag — the same COM VARENUM value VarType() reports and OLE Automation marshals against.

WrappedValue VBTypedValue

The Variant's own wrapped value, cells/type info intact.

Properties

BoxedValue

public object BoxedValue { get; }

Property Value

object

ValueType

The variant's own VBVarType tag — the same COM VARENUM value VarType() reports and OLE Automation marshals against.

public VBVarType ValueType { get; init; }

Property Value

VBVarType

WrappedValue

The Variant's own wrapped value, cells/type info intact.

public VBTypedValue WrappedValue { get; init; }

Property Value

VBTypedValue