Conversions.ToShort Metodo

Definizione

Converte l'oggetto specificato in un Short valore.

Overload

Nome Descrizione
ToShort(Object)

Converte un oggetto in un Short valore.

ToShort(String)

Converte una stringa in un Short valore.

ToShort(Object)

Converte un oggetto in un Short valore.

public:
 static short ToShort(System::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.

Valori restituiti

Valore Short dell'oggetto .

Si applica a

ToShort(String)

Converte una stringa in un Short valore.

public:
 static short ToShort(System::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.

Valori restituiti

Valore Short della stringa.

Si applica a