Click or drag to resize
UIntPtr Structure
A platform-specific type that is used to represent a pointer or a handle.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
[SerializableAttribute]
public struct UIntPtr : ISerializable

The UIntPtr type exposes the following members.

Methods
  NameDescription
Public methodEquals
Returns a value indicating whether this instance is equal to a specified object.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns the hash code for this instance.
(Overrides ValueTypeGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Converts the numeric value of this instance to its equivalent string representation.
(Overrides ValueTypeToString.)
Public methodToUInt32
Converts the value of this instance to a 32-bit unsigned integer.
Public methodToUInt64
Converts the value of this instance to a 64-bit unsigned integer.
Top
Fields
  NameDescription
Public fieldStatic memberZero
A read-only field that represents a pointer or handle that has been initialized to zero.
Top
See Also