Bagikan melalui


BindConverter.TryConvertToNullableDouble Metode

Definisi

Mencoba untuk mengonversi nilai menjadi nullable Double.

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

Parameter

obj
Object

Objek yang akan dikonversi.

culture
CultureInfo

yang CultureInfo digunakan untuk konversi.

value
Nullable<Double>

Nilai yang dikonversi.

Mengembalikan

true jika konversi berhasil, jika tidak false.

Berlaku untuk