Share via


IntPtr Structure

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

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public struct IntPtr

Remarks

The IntPtr type is designed to be an integer whose size is platform-specific. 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.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

System Namespace