Compartir a través de


BindConverter.TryConvertToNullableFloat Método

Definición

Intenta convertir un valor en un que acepta Singlevalores NULL.

public:
 static bool TryConvertToNullableFloat(System::Object ^ obj, System::Globalization::CultureInfo ^ culture, [Runtime::InteropServices::Out] Nullable<float> % value);
public static bool TryConvertToNullableFloat (object obj, System.Globalization.CultureInfo culture, out float? value);
public static bool TryConvertToNullableFloat (object? obj, System.Globalization.CultureInfo? culture, out float? value);
static member TryConvertToNullableFloat : obj * System.Globalization.CultureInfo * Nullable -> bool
Public Shared Function TryConvertToNullableFloat (obj As Object, culture As CultureInfo, ByRef value As Nullable(Of Single)) 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
Nullable<Single>

El valor convertido.

Devoluciones

true es si la conversión es correcta; de lo contrario false, es .

Se aplica a