Table of Contents

Class VBBooleanType

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

A VBIntrinsicType<T> representing the Boolean data type.

public sealed record VBBooleanType : VBIntrinsicType<VBRuntimeBooleanValue>, IEquatable<VBType>, IEquatable<VBIntrinsicType>, IEquatable<VBIntrinsicType<VBRuntimeBooleanValue>>, IEquatable<VBBooleanType>
Inheritance
VBBooleanType
Implements
Inherited Members

Remarks

The managed type of a value of this data type is bool.

Constructors

VBBooleanType()

A VBIntrinsicType<T> representing the Boolean data type.

public VBBooleanType()

Remarks

The managed type of a value of this data type is bool.

Properties

DefaultValue

Gets the default value VBBooleanValue.False.

public override VBTypedValue DefaultValue { get; }

Property Value

VBTypedValue

TypeInfo

The Boolean data type.

public static VBBooleanType TypeInfo { get; }

Property Value

VBBooleanType

Methods

CreateValue(IBindingHandle)

Creates a value of this type bound to handle.

public override VBTypedValue CreateValue(IBindingHandle handle)

Parameters

handle IBindingHandle

Returns

VBTypedValue

Remarks

The base implementation throws: only types that can hold a runtime value override this (matches the intent of the removed VBTypedValueFactory.CreateValue(VBType) switch, which returned null for the rest).