Aracılığıyla paylaş


BindConverter.TryConvertToNullableShort Yöntem

Tanım

Bir değeri null atanabilir Int16değerine dönüştürmeyi dener.

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

Parametreler

obj
Object

Dönüştürülecek nesne.

culture
CultureInfo

Dönüştürme CultureInfo için kullanılacak.

value
Nullable<Int16>

Dönüştürülen değer.

Döndürülenler

true dönüştürme başarılı olursa, aksi takdirde false.

Şunlara uygulanır