BindConverter.TryConvertToNullableTimeOnly Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.
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.
Mengembalikan
true
jika konversi berhasil, jika tidak false
.