System.UIntPtr Structure
An implementation-specific type that is used to represent a pointer or a handle.

See Also: UIntPtr Members

Syntax

[System.CLSCompliant(false)]
[System.Runtime.InteropServices.ComVisible(true)]
public struct UIntPtr : System.Runtime.Serialization.ISerializable

Remarks

The UIntPtr type is designed to be an implementation-sized pointer. An instance of this type is expected to be the size of a native unsigned int for the current implementation.

For more information on the native unsigned int type, see Partition II of the CLI Specification.

Note:

UIntPtr instances can also be used to hold handles.

The IntPtr type is CLS-compliant while the UIntPtr type is not. The UIntPtr type is provided mostly to maintain architectural symmetry with the IntPtr type.

Thread Safety

This type is safe for multithreaded operations.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0