asp.net.ph

UIntPtr Structure

System Namespace


A platform-specific type that is used to represent a pointer or a handle.

UIntPtr Class Members

Collapse   Constructors

Visibility Constructor Parameters
public UIntPtr ( UInt32 value )
public UIntPtr ( UInt64 value )
public UIntPtr ( Void value )

Collapse   Fields

Visibility Name Type
public static Zero UIntPtr

Collapse   Properties

Visibility Name Value Type Accessibility
public static Size Int32 [ Get ]

Collapse   Methods

Visibility Name Parameters Return Type
public static Add ( UIntPtr pointer , Int32 offset ) UIntPtr
public Equals ( Object obj ) Boolean
public GetHashCode ( ) Int32
public static Subtract ( UIntPtr pointer , Int32 offset ) UIntPtr
public ToPointer ( ) Void
public ToString ( ) String
public ToUInt32 ( ) UInt32
public ToUInt64 ( ) UInt64

Remarks

The UIntPtr type is designed to be a platform-specific, machine-sized integer. That is, an instance of this type is expected to be 32-bits on 32-bit hardware and operating systems, and 64-bits on 64-bit hardware and operating systems.

The UIntPtr type can be used by languages that support pointers and as a common means of referring to data between languages that do, and do not, support pointers. UIntPtr objects can also be used to hold handles.

The IntPtr type is CLS-compliant while the UIntPtr type is not. Only the IntPtr type is used in the common language runtime. The UIntPtr type is provided mostly to maintain architectural symmetry with the IntPtr type.

This type implements the ISerializable interface.

See Also

IntPtr Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph