Aracılığıyla paylaş


BindConverter.TryConvertToNullableLong Yöntem

Tanım

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

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

Parametreler

obj
Object

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

culture
CultureInfo

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

value
Nullable<Int64>

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