BindConverter.TryConvertToNullableDateTime 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
TryConvertToNullableDateTime(Object, CultureInfo, Nullable<DateTime>) |
Mencoba mengonversi nilai menjadi nullable DateTime. |
TryConvertToNullableDateTime(Object, CultureInfo, String, Nullable<DateTime>) |
Mencoba mengonversi nilai menjadi nullable DateTime. |
TryConvertToNullableDateTime(Object, CultureInfo, Nullable<DateTime>)
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
Mencoba mengonversi nilai menjadi nullable DateTime.
public:
static bool TryConvertToNullableDateTime(System::Object ^ obj, System::Globalization::CultureInfo ^ culture, [Runtime::InteropServices::Out] Nullable<DateTime> % value);
public static bool TryConvertToNullableDateTime (object obj, System.Globalization.CultureInfo culture, out DateTime? value);
public static bool TryConvertToNullableDateTime (object? obj, System.Globalization.CultureInfo? culture, out DateTime? value);
static member TryConvertToNullableDateTime : obj * System.Globalization.CultureInfo * Nullable -> bool
Public Shared Function TryConvertToNullableDateTime (obj As Object, culture As CultureInfo, ByRef value As Nullable(Of DateTime)) 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
TryConvertToNullableDateTime(Object, CultureInfo, String, Nullable<DateTime>)
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
- Sumber:
- BindConverter.cs
Mencoba mengonversi nilai menjadi nullable DateTime.
public:
static bool TryConvertToNullableDateTime(System::Object ^ obj, System::Globalization::CultureInfo ^ culture, System::String ^ format, [Runtime::InteropServices::Out] Nullable<DateTime> % value);
public static bool TryConvertToNullableDateTime (object obj, System.Globalization.CultureInfo culture, string format, out DateTime? value);
public static bool TryConvertToNullableDateTime (object? obj, System.Globalization.CultureInfo? culture, string format, out DateTime? value);
static member TryConvertToNullableDateTime : obj * System.Globalization.CultureInfo * string * Nullable -> bool
Public Shared Function TryConvertToNullableDateTime (obj As Object, culture As CultureInfo, format As String, ByRef value As Nullable(Of DateTime)) 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
.