Bagikan melalui


BindConverter.TryConvertToNullableLong Metode

Definisi

Mencoba mengonversi nilai menjadi nullable Int64.

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

Parameter

obj
Object

Objek yang akan dikonversi.

culture
CultureInfo

yang CultureInfo digunakan untuk konversi.

value
Nullable<Int64>

Nilai yang dikonversi.

Mengembalikan

true jika konversi berhasil, jika tidak false.

Berlaku untuk