Share via


Conversions.ToInteger Metodo

Definizione

Converte l'oggetto valore specificato nel relativo valore intero.

Overload

ToInteger(Object)

Converte un oggetto in un valore intero.

ToInteger(String)

Converte una stringa in un valore intero.

ToInteger(Object)

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

Converte un oggetto in un valore intero.

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

Parametri

Value
Object

Oggetto da convertire.

Restituisce

Valore int dell'oggetto.

Si applica a

ToInteger(String)

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

Converte una stringa in un valore intero.

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

Parametri

Value
String

Stringa da convertire.

Restituisce

Valore int della stringa.

Si applica a