Class VBLongPtrValue
Represents a LongPtr value.
public sealed record VBLongPtrValue : VBNumericTypedValue, IEquatable<VBRuntimeEntity>, IEquatable<VBTypedValue>, IEquatable<VBNumericTypedValue>, IVBTypedValue<VBLongPtrValue, long>, IEquatable<IVBTypedValue<VBLongPtrValue, long>>, INumericValue<VBLongPtrValue>, INumericValue, IEquatable<VBLongPtrValue>
- Inheritance
-
VBLongPtrValue
- Implements
- Inherited Members
Constructors
VBLongPtrValue(bool)
Represents a LongPtr value.
public VBLongPtrValue(bool Is64Bit)
Parameters
Is64BitboolIndicates whether the pointer is a 32-bit (
false) or 64-bit (true) pointer.
VBLongPtrValue(int)
public VBLongPtrValue(int value)
Parameters
valueint
VBLongPtrValue(long)
public VBLongPtrValue(long value)
Parameters
valuelong
Properties
Is64Bit
Indicates whether the pointer is a 32-bit (false) or 64-bit (true) pointer.
public bool Is64Bit { get; init; }
Property Value
Size
The allocated size (in bytes) of this value.
public override int Size { get; }
Property Value
Value
Gets the underlying managed value corresponding to this typed value.
public long Value { get; }
Property Value
Methods
Equals(IVBTypedValue<VBLongPtrValue, long>?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(IVBTypedValue<VBLongPtrValue, long>? other)
Parameters
otherIVBTypedValue<VBLongPtrValue, long>An object to compare with this object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.