Bagikan melalui


BindConverter.TryConvertToNullableTimeOnly Metode

Definisi

Overload

TryConvertToNullableTimeOnly(Object, CultureInfo, Nullable<TimeOnly>)

Mencoba mengonversi nilai menjadi nullable TimeOnly.

TryConvertToNullableTimeOnly(Object, CultureInfo, String, Nullable<TimeOnly>)

Mencoba mengonversi nilai menjadi nullable TimeOnly.

TryConvertToNullableTimeOnly(Object, CultureInfo, Nullable<TimeOnly>)

Sumber:
BindConverter.cs
Sumber:
BindConverter.cs
Sumber:
BindConverter.cs
Sumber:
BindConverter.cs

Mencoba mengonversi nilai menjadi nullable TimeOnly.

public static bool TryConvertToNullableTimeOnly (object? obj, System.Globalization.CultureInfo? culture, out TimeOnly? value);
static member TryConvertToNullableTimeOnly : obj * System.Globalization.CultureInfo * Nullable -> bool
Public Shared Function TryConvertToNullableTimeOnly (obj As Object, culture As CultureInfo, ByRef value As Nullable(Of TimeOnly)) As Boolean

Parameter

obj
Object

Objek yang akan dikonversi.

culture
CultureInfo

yang CultureInfo digunakan untuk konversi.

value
Nullable<TimeOnly>

Nilai yang dikonversi.

Mengembalikan

true jika konversi berhasil, jika tidak false.

Berlaku untuk

TryConvertToNullableTimeOnly(Object, CultureInfo, String, Nullable<TimeOnly>)

Sumber:
BindConverter.cs
Sumber:
BindConverter.cs
Sumber:
BindConverter.cs
Sumber:
BindConverter.cs

Mencoba mengonversi nilai menjadi nullable TimeOnly.

public static bool TryConvertToNullableTimeOnly (object? obj, System.Globalization.CultureInfo? culture, string format, out TimeOnly? value);
static member TryConvertToNullableTimeOnly : obj * System.Globalization.CultureInfo * string * Nullable -> bool
Public Shared Function TryConvertToNullableTimeOnly (obj As Object, culture As CultureInfo, format As String, ByRef value As Nullable(Of TimeOnly)) As Boolean

Parameter

obj
Object

Objek yang akan dikonversi.

culture
CultureInfo

yang CultureInfo digunakan untuk konversi.

format
String

String format yang digunakan dalam konversi.

value
Nullable<TimeOnly>

Nilai yang dikonversi.

Mengembalikan

true jika konversi berhasil, jika tidak false.

Berlaku untuk