Conversions.ToShort Metodo

Definizione

Converte l'oggetto specificato in un valore Short.

Overload

ToShort(Object)

Converte un oggetto in un valore Short.

ToShort(String)

Converte una stringa in un valore Short.

ToShort(Object)

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

Converte un oggetto in un valore Short.

public:
 static short ToShort(System::Object ^ Value);
public static short ToShort (object Value);
public static short ToShort (object? Value);
static member ToShort : obj -> int16
Public Shared Function ToShort (Value As Object) As Short

Parametri

Value
Object

Oggetto da convertire.

Restituisce

Valore Short dell'oggetto.

Si applica a

ToShort(String)

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

Converte una stringa in un valore Short.

public:
 static short ToShort(System::String ^ Value);
public static short ToShort (string Value);
public static short ToShort (string? Value);
static member ToShort : string -> int16
Public Shared Function ToShort (Value As String) As Short

Parametri

Value
String

Stringa da convertire.

Restituisce

Valore Short della stringa.

Si applica a