Aracılığıyla paylaş


BindConverter.TryConvertToNullableFloat Yöntem

Tanım

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

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

Parametreler

obj
Object

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

culture
CultureInfo

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

value
Nullable<Single>

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