다음을 통해 공유


BindConverter.TryConvertToNullableDateTime 메서드

정의

오버로드

TryConvertToNullableDateTime(Object, CultureInfo, Nullable<DateTime>)

값을 nullable DateTime로 변환하려고 시도합니다.

TryConvertToNullableDateTime(Object, CultureInfo, String, Nullable<DateTime>)

값을 nullable DateTime로 변환하려고 시도합니다.

TryConvertToNullableDateTime(Object, CultureInfo, Nullable<DateTime>)

Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs

값을 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

매개 변수

obj
Object

변환할 개체입니다.

culture
CultureInfo

변환에 사용할 입니다 CultureInfo .

value
Nullable<DateTime>

변환된 값입니다.

반환

true 변환에 성공하면 이고, 그렇지 않으면 false입니다.

적용 대상

TryConvertToNullableDateTime(Object, CultureInfo, String, Nullable<DateTime>)

Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs
Source:
BindConverter.cs

값을 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

매개 변수

obj
Object

변환할 개체입니다.

culture
CultureInfo

변환에 사용할 입니다 CultureInfo .

format
String

변환에 사용할 형식 문자열입니다.

value
Nullable<DateTime>

변환된 값입니다.

반환

true 변환에 성공하면 이고, 그렇지 않으면 false입니다.

적용 대상