UInt32Ptr Structure

Represents an 32-Bit Pointer (Process independant)

Inheritance Hierarchy

SystemObject
  SystemValueType
    TwinCAT.TypeSystemUInt32Ptr

Namespace: TwinCAT.TypeSystem
Assembly: TwinCAT.Ads.Abstractions (in TwinCAT.Ads.Abstractions.dll) Version: 7.0.0+e56d35ccc4675faac24789a4aab60071fc61d470

Syntax

C#

public struct UInt32Ptr

The UInt32Ptr type exposes the following members.

Constructors

 

Name

Description

UInt32Ptr

Initializes a new instance of the UInt32Ptr struct.

UInt32Ptr(UInt32)

Initializes a new instance of the UInt32Ptr struct.

UInt32Ptr(Void*)

Initializes a new instance of the UInt32Ptr struct.

Properties

 

Name

Description

IsNull

Gets a value indicating whether this Pointer is NULL

Size

Gets the size (4-Byte)

Methods

 

Name

Description

Add

Adds an offset to the pointer.

Equals

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

GetHashCode

Returns a hash code for this instance.
(Overrides ValueTypeGetHashCode)

GetType

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

Subtract

Subtracts an offset from the specified pointer.

ToPointer

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

ToString

Returns a String that represents this instance.
(Overrides ValueTypeToString)

ToUInt32

Converts the 32-Bit Pointer to uint

ToUInt64

Converts the 32-Bit Pointer to ulong.

Operators

 

Name

Description

Addition(UInt32Ptr, Int32)

Implements the + operator.

Equality(UInt32Ptr, UInt32Ptr)

Implements the == operator.

(UInt32 to UInt32Ptr)

Performs an explicit conversion from UInt32 to UInt32Ptr.

(UInt32Ptr to UInt32)

Performs an explicit conversion from UInt32Ptr to UInt32.

(UInt32Ptr to UInt64)

Performs an explicit conversion from UInt32Ptr to UInt64.

(UInt32Ptr to UIntPtr)

Performs an explicit conversion from UInt32Ptr to UIntPtr.

(UInt32Ptr to Void*)

Performs an explicit conversion from UInt32Ptr to Void.

(UInt64 to UInt32Ptr)

Performs an explicit conversion from UInt64 to UInt32Ptr.

(UInt64Ptr to UInt32Ptr)

Performs an explicit conversion from UInt64Ptr to UInt32Ptr.

(Void* to UInt32Ptr)

Performs an explicit conversion from Void to UInt32Ptr.

Inequality(UInt32Ptr, UInt32Ptr)

Implements the != operator.

Subtraction(UInt32Ptr, Int32)

Implements the - operator.

Fields

 

Name

Description

Zero

Zero/Null Pointer

Reference

TwinCAT.TypeSystem Namespace UIntPtr

Beckhoff Automation GmbH & Co. KG 2001-2026