Mono Class Library: System.IntPtr Overview | Members

System.IntPtr.Size Property

Gets the size in bytes of a pointer or a handle for the current implementation. [Edit]

Value: 4

public static int Size { get; }

Value

A int containing the number of bytes of a pointer or handle for the current implementation. The value of this property is equal to the number of bytes contained by the native int type in the current implementation. [Edit]

Remarks

This property is read-only.

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

[Edit]

Requirements

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