Bagikan melalui


BindConverter.TryConvertToNullableDateOnly Metode

Definisi

Overload

TryConvertToNullableDateOnly(Object, CultureInfo, String, Nullable<DateOnly>)

Mencoba mengonversi nilai menjadi nullable DateOnly.

TryConvertToNullableDateOnly(Object, CultureInfo, Nullable<DateOnly>)

Mencoba mengonversi nilai menjadi nullable DateOnly.

TryConvertToNullableDateOnly(Object, CultureInfo, String, Nullable<DateOnly>)

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

Mencoba mengonversi nilai menjadi nullable DateOnly.

public static bool TryConvertToNullableDateOnly (object? obj, System.Globalization.CultureInfo? culture, string format, out DateOnly? value);
static member TryConvertToNullableDateOnly : obj * System.Globalization.CultureInfo * string * Nullable -> bool
Public Shared Function TryConvertToNullableDateOnly (obj As Object, culture As CultureInfo, format As String, ByRef value As Nullable(Of DateOnly)) 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<DateOnly>

Nilai yang dikonversi.

Mengembalikan

true jika konversi berhasil, jika tidak false.

Berlaku untuk

TryConvertToNullableDateOnly(Object, CultureInfo, Nullable<DateOnly>)

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

Mencoba mengonversi nilai menjadi nullable DateOnly.

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

Parameter

obj
Object

Objek yang akan dikonversi.

culture
CultureInfo

yang CultureInfo digunakan untuk konversi.

value
Nullable<DateOnly>

Nilai yang dikonversi.

Mengembalikan

true jika konversi berhasil, jika tidak false.

Berlaku untuk