BindConverter.TryConvertToNullableShort Metodo

Definizione

Tenta di convertire un valore in un valore nullable Int16.

public:
 static bool TryConvertToNullableShort(System::Object ^ obj, System::Globalization::CultureInfo ^ culture, [Runtime::InteropServices::Out] Nullable<short> % value);
public static bool TryConvertToNullableShort (object? obj, System.Globalization.CultureInfo? culture, out short? value);
static member TryConvertToNullableShort : obj * System.Globalization.CultureInfo * Nullable -> bool
Public Shared Function TryConvertToNullableShort (obj As Object, culture As CultureInfo, ByRef value As Nullable(Of Short)) As Boolean

Parametri

obj
Object

Oggetto da convertire.

culture
CultureInfo

Oggetto CultureInfo da usare per la conversione.

value
Nullable<Int16>

Valore convertito.

Restituisce

true se la conversione ha esito positivo, in caso contrario false.

Si applica a