Click or drag to resize
IntPtrToInt32 Method
Converts the value of this instance to a 32-bit signed integer.

Namespace: System
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public int ToInt32()

Return Value

Type: Int32
A 32-bit signed integer equal to the value of this instance.
Exceptions
ExceptionCondition
OverflowExceptionOn a 64-bit platform, the value of this instance is too large or too small to represent as a 32-bit signed integer.
See Also