Share via


Conversions.ToInteger Método

Definición

Convierte el objeto especificado en un valor entero.

Sobrecargas

ToInteger(Object)

Convierte un objeto en un valor entero.

ToInteger(String)

Convierte una cadena en un valor entero.

ToInteger(Object)

Source:
Conversions.vb
Source:
Conversions.vb
Source:
Conversions.vb

Convierte un objeto en un valor entero.

public:
 static int ToInteger(System::Object ^ Value);
public static int ToInteger (object Value);
public static int ToInteger (object? Value);
static member ToInteger : obj -> int
Public Shared Function ToInteger (Value As Object) As Integer

Parámetros

Value
Object

Objeto que se va a convertir.

Devoluciones

El valor de int del objeto.

Se aplica a

ToInteger(String)

Source:
Conversions.vb
Source:
Conversions.vb
Source:
Conversions.vb

Convierte una cadena en un valor entero.

public:
 static int ToInteger(System::String ^ Value);
public static int ToInteger (string Value);
public static int ToInteger (string? Value);
static member ToInteger : string -> int
Public Shared Function ToInteger (Value As String) As Integer

Parámetros

Value
String

Cadena que se va a convertir.

Devoluciones

Valor int de la cadena.

Se aplica a