Compartir a través de


BindConverter.TryConvertToTimeOnly Método

Definición

Sobrecargas

TryConvertToTimeOnly(Object, CultureInfo, TimeOnly)

Intenta convertir un valor en .TimeOnly

TryConvertToTimeOnly(Object, CultureInfo, String, TimeOnly)

Intenta convertir un valor en .TimeOnly

TryConvertToTimeOnly(Object, CultureInfo, TimeOnly)

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

Intenta convertir un valor en .TimeOnly

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

Parámetros

obj
Object

Objeto que se va a convertir.

culture
CultureInfo

que CultureInfo se va a usar para la conversión.

value
TimeOnly

El valor convertido.

Devoluciones

true es si la conversión se realiza correctamente; de lo contrario false, es .

Se aplica a

TryConvertToTimeOnly(Object, CultureInfo, String, TimeOnly)

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

Intenta convertir un valor en .TimeOnly

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

Parámetros

obj
Object

Objeto que se va a convertir.

culture
CultureInfo

que CultureInfo se va a usar para la conversión.

format
String

Cadena de formato que se va a usar en la conversión.

value
TimeOnly

El valor convertido.

Devoluciones

true es si la conversión se realiza correctamente; de lo contrario false, es .

Se aplica a