IntPtr.ToInt32 Method

Definition

Convierte el valor de esta instancia a un entero de 32 bits con signo.Converts the value of this instance to a 32-bit signed integer.

public:
 int ToInt32();
public int ToInt32 ();
member this.ToInt32 : unit -> int
Public Function ToInt32 () As Integer

Returns

Int32

Entero de 32 bits con signo igual al valor de esta instancia.A 32-bit signed integer equal to the value of this instance.

Exceptions

En una plataforma de 64 bits, el valor de esta instancia es demasiado grande para representarse como un entero de 32 bits con signo.On a 64-bit platform, the value of this instance is too large or too small to represent as a 32-bit signed integer.

Applies to