Class VBRuntimeVariantValue
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
ValueTypeVBVarTypeThe variant's own VBVarType tag — the same COM
VARENUMvalueVarType()reports and OLE Automation marshals against.WrappedValueVBTypedValueThe Variant's own wrapped value, cells/type info intact.
Properties
BoxedValue
public object BoxedValue { get; }
Property Value
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
WrappedValue
The Variant's own wrapped value, cells/type info intact.
public VBTypedValue WrappedValue { get; init; }