Table of Contents

Class VBLongPtrType_x64

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

A VBIntrinsicType<T> representing the LongPtr data type in the context of a 64-bit execution environment.

public record VBLongPtrType_x64 : VBIntrinsicType<long>, IEquatable<VBType>, IEquatable<VBIntrinsicType>, IEquatable<VBIntrinsicType<long>>, IEquatable<VBLongPtrType_x64>
Inheritance
VBLongPtrType_x64
Implements
Inherited Members

Remarks

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

Constructors

VBLongPtrType_x64()

A VBIntrinsicType<T> representing the LongPtr data type in the context of a 64-bit execution environment.

public VBLongPtrType_x64()

Remarks

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

Properties

BitnessAwarePtrSize

public static int BitnessAwarePtrSize { get; }

Property Value

int

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.

MaxValue

Gets the maximum representable value for this data type.

public static VBLongPtrValue MaxValue { get; }

Property Value

VBLongPtrValue

MinValue

Gets the minimum representable value for this data type.

public static VBLongPtrValue MinValue { get; }

Property Value

VBLongPtrValue

TypeInfo

The LongPtr data type (64-bit).

public static VBLongPtrType_x64 TypeInfo { get; }

Property Value

VBLongPtrType_x64

Zero

Gets the value 0 (zero) representation of this data type.

public static VBLongPtrValue Zero { get; }

Property Value

VBLongPtrValue

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).