Table of Contents

Class VBErrorValue

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

Represents an Error value.

public record VBErrorValue : VBTypedValue, IEquatable<VBTypedValue>, IVBTypedValue<VBErrorValue, int>, IEquatable<IVBTypedValue<VBErrorValue, int>>, IEquatable<VBErrorValue>
Inheritance
VBErrorValue
Implements
Derived
Inherited Members

Remarks

👉 VBMissingValue is one too: the value of an omitted optional Variant parameter is an error value that only IsMissing tells apart from the others.

Constructors

VBErrorValue(VBType, IBindingHandle)

Creates an error value whose Variant subtype is typeInfo rather than Error itself.

protected VBErrorValue(VBType typeInfo, IBindingHandle handle)

Parameters

typeInfo VBType

The data type the value reports.

handle IBindingHandle

The binding holding the error code.

VBErrorValue(IBindingHandle)

public VBErrorValue(IBindingHandle handle)

Parameters

handle IBindingHandle

VBErrorValue(int)

public VBErrorValue(int value = 0)

Parameters

value int

Properties

Size

The allocated size (in bytes) of this value.

public override int Size { get; }

Property Value

int

Value

Gets the underlying managed value corresponding to this typed value.

public int Value { get; }

Property Value

int

Methods

Equals(IVBTypedValue<VBErrorValue, int>?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(IVBTypedValue<VBErrorValue, int>? other)

Parameters

other IVBTypedValue<VBErrorValue, int>

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.