UInt64Ptr Structure

Represents an 64-Bit Pointer (Process independant)

Namespace:  TwinCAT.TypeSystem
Assembly:  TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 6.0.328+39e3229

Syntax

C#

public struct UInt64Ptr

The UInt64Ptr type exposes the following members.

Constructors

 

Name

Description

UInt64Ptr(UInt64)

Initializes a new instance of the UInt64Ptr struct.

UInt64Ptr(Void*)

Initializes a new instance of the UInt64Ptr struct.

Properties

 

Name

Description

Size

Gets the size (8-Byte)

Methods

 

Name

Description

Add

Adds an offset to the pointer.

Equals

Determines whether the specified Object is equal to this instance. (Overrides ValueType.Equals(Object).)

GetHashCode

Returns a hash code for this instance. (Overrides ValueType.GetHashCode..)

GetType

Gets the Type of the current instance. (Inherited from Object.)

Subtract

Substracts an offset from the pointer.

ToPointer

Converts this 64-Pointer object to an unsafe void* pointer

ToString

Returns a String that represents this instance. (Overrides ValueType.ToString..)

ToUInt32

Converts this 64-Bit Pointer to an UInt32 value

ToUInt64

Converts this 64-Bit Pointer to an UInt64 value

Operators

 

Name

Description

Addition

Implements the + operator.

Equality

Implements the == operator.

.(UInt32 to UInt64Ptr)

Performs an explicit conversion from UInt32 to UInt64Ptr.

.(UInt32Ptr to UInt64Ptr)

Performs an explicit conversion from UInt32Ptr to UInt64Ptr.

.(UInt64 to UInt64Ptr)

Performs an explicit conversion from UInt64 to UInt64Ptr.

.(UInt64Ptr to UInt32)

Performs an explicit conversion from UInt64Ptr to UInt32.

.(UInt64Ptr to UInt64)

Performs an explicit conversion from UInt64Ptr to UInt64.

.(UInt64Ptr to UIntPtr)

Performs an explicit conversion from UInt64Ptr to UIntPtr.

.(UInt64Ptr to Void*)

Performs an explicit conversion from UInt64Ptr to Void.

.(Void* to UInt64Ptr)

Performs an explicit conversion from Void to UInt64Ptr.

Inequality

Implements the != operator.

Subtraction

Subtracts an offset from the pointer.

Fields

 

Name

Description

Zero

The zero/null pointer

Reference

TwinCAT.TypeSystem Namespace

System.UIntPtr